Manage Configuration UI
In order to add a custom MDF block in the profile, you first need to configure a UI for the Generic Object.
Manage Configuration UI is a core feature available in Metadata Framework that allows creating custom UI for any selected MDF Object. Using this feature, you can leverage the option of creating Block UI in the Employee Profile Section for any MDF object.
Steps to create a Config UI for the MDF objects:
- Go to Manage Configuration UI.
- Select Create New.
- Choose the required object in Select Base Object drop down and enter the ID of your choice for the UI you are creating. Once a Base Object is selected, a default view is created with all fields and first level composite children as group.
When you hover over a group, you can see the toolbar options as highlighted on the screenshot:
• Add Field - Select this toolbar item to add a field to the group.
• Add Link - Select this toolbar item to add a link at access a URL to the group.
• Add Group - Select this toolbar item to add a group to the group.
• Edit Properties - Select this toolbar item to open the Properties for the group.
• Delete - Select this toolbar item to delete the group.
- Once the configuration is complete choose the Save button to save the Config UI for the MDF object.
Custom MDF Blocks in the profile
Live Profile MDF Block in People Profile can be used only for Generic Objects that have externalCode set as User data type. When the externalCode is not a user data type field, the option to select the Screen ID in Configure People Profile is not available. Once the UI is created, follow the steps below to add the custom MDF block in People Profile.
- From the Action Search, go to Configure People Profile.
- In the Search area for Available Blocks, look for "Live Profile MDF Information" block. It will appear if you search "MDF".
- Drag and drop the block into the desired available space.
- Select the UI screen ID and select Save.Once the above steps are completed, the block will appear on the Profile Page if the person viewing the profile has the appropriate permissions.