SAP Knowledge Base Article - Public

2934209 - [Custom MDF] Child Object Record Display Order when Allow Reordering is set to NO

Symptom

Even Allow Reordering is set to NO in Parent Object Association section to make the latest child entry display on top, While adding new child record in a custom MDF portlet via Profle UI or import, the child entry display order seems not always follow the processing(updating) order.

Environment

  • SAP SuccessFactors HXM Suite
  • SAP SuccessFactors Metadata framework (MDF)

Reproducing the Issue

  1. set Allow Reordering=NO in Parent Object Association section
  2. insert a new child entry via import csv file, for example ChildB, it displays on the top order
  3. then, add another child entry via Profile UI, for example ChildC
  4. noticed that the ChildC displays under of ChildB, which does not following the processing order to display on the top order.

Cause

This is an expected behavior per confirming with engineerign team:
 
Allow Reordering to NO
 
When Allow reordering set to No, system uses different field to reorder the child, it doesn't reply on processing order, it is ordered based on internal ID of each child entry.
In this case MDF uses internal ID assigned to a composited child for UI display in decreasing order.
As we are using two flows to create a composite child i.e. Import and UI, internal ID assignment logic may differ and not guarantees to align with each other or in specific order.
In this case system uses its own way to provide the order i.e. through internal ID and doesn’t provide any contract to user. So it’s an expected and normal behavior.
So when doing import the id assigned to that child might not be aligned with child added through UI (vice versa), this is why sometimes the laest UI updated child entry will display under older importing updated child entry.

Allow Reordering to YES

In this case MDF uses processing order assigned to composite child(Order in which children were added) and abide by it.

 

Resolution

  • Please change Allow Reordering set to Yes, it will display in proper order.

See Also

2688830 - [Custom MDF] How to set display order of child records in the MDF portlet in People Profile.

Keywords

Allow Reordering, Reorder Child record, Child record, MDF, SuccessFactors, custom MDF, Order , KBA , LOD-SF-MDF-UI , UI Config, Layout & Rules , Problem

Product

SAP SuccessFactors HXM Core all versions