SAP Knowledge Base Article - Public

2921141 - How to configure the "Add" button in the custom MDF portlet?

Symptom

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.

Environment

SAP SuccessFactors HXM Suite

Resolution

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. 

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:

See Also

2208066 - How to create a Custom MDF Portlet in the Employee/People Profile 

Keywords

add, button, object, mdf, porltet, people profile, employee profile , KBA , LOD-SF-MDF-UI , UI Config, Layout & Rules , How To

Product

SAP SuccessFactors HXM Suite 2005

Attachments

Pasted image.png
Pasted image.png