Customer has a custom MDF portlet in People Profile and would like to have the Add button in the down-left side of the screen to include new records for that object. How to do it?
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
SAP SuccessFactors HXM Suite
First of all, it is important to explain that the Add button that we commonly see in People Profile only exists in MDF objects that have associations. So in all the screens you are able to see this button, when you click on it, you will be adding a new child record, and not parent.
Being that said, in order to include this button on your custom MDF object, you need to have an object with a MDF Association with a One To Many multiplicity. If you have only one association on this object, the button will then be displayed, however, if you have multiple associations, this "Add" button will not be displayed in the bottom bar. It will appear inside of the UI for each association you have.
To understand more about MDF Associations and how to add it on your custom MDF objects, you can refer to our SAP Help Portal.
You can see below an example of Add button.
- Parent object: UI Rules
- Child object: Add button
We have created an association inside the parent object (UI Rules) with destination as the Add button object.
Then, addind the UI of the custom MDF object UI Rule in the People Profile, we can see the portlet as this:
2208066 - How to create a Custom MDF Portlet in the Employee/People Profile
add, button, object, mdf, porltet, people profile, employee profile , KBA , LOD-SF-MDF-UI , UI Config, Layout & Rules , How To