SAP Knowledge Base Article - Public

2688830 - [Custom MDF] Display order of child records in the MDF portlet in People Profile.

Symptom

  • While adding new child record in custom MDF portlet, it does not appear on the top.
  • How can I control the display order of MDF object records in PP3?
  • To set the most recent child record on the top and the oldest record at the bottom of the portlet.
  • What is the collapse feature for MDF child records on PP3?

Environment

  • SuccessFactors Cloud HCM: MDF
  • SuccessFactors Cloud HCM: MDF UI

Reproducing the Issue

  • Create a custom MDF object with (one to many) composite type association
  • Configure it on the People Profile.
  • Click on Edit button (Pencil Icon) and add a new child record.
  • Older record remains at the top. As you scroll down you will notice that the latest added child record is being added at the bottom.    

Cause

It is by design in the PP3 principle. There is no way to change the order of the child records. The historical record (the one created first) will always appear on the top and successive child records will start appearing as you scroll down.

Resolution

Although this is expected behavior, still there is a little tweak that can be done to have the latest added child record accessible without scrolling.

For that we can make use of the Collapsible feature from the Manage configuration UI for the UI screens. In this feature, you can default the child records to collapsed form.

1)    Go to Manage Configuration UI.

2)    Select the UI screen for your MDF object.

3)    Click on "Edit properties" for the child object UI group.

        Collapsible_1.png

4)    Set the property Collapsible = Yes and then Default Collapsed also = Yes.

        Collapsible.png

5)    Click on OK and then Save the UI screen.

Please note: If you perform above alteration, the newly added child record will also appear in collapsed form by default. You will need to click on expand icon to see the empty fields to input the values.

Keywords

  • MDF: Metadata Framework
  • Custom MDF portlets
  • Order of records
  • Scroll MDF portlet
  • Older child record
  • Latest child record
  • Top
  • Bottom
, KBA , LOD-SF-MDF-UI , UI Config, Rules, Custom MDF Portlets on V12 & PP3 , LOD-SF-MDF-OBJ , Object Definitions All Object Definition Creation , How To

Product

SAP SuccessFactors HCM Core 1805