Support Article
Value is not loaded in some dynamic select fields
SA-8644
Summary
User opens a work object from the work list. The work object opens in Review mode with values for fields.
Notice the encircled value in below screen shot:

User performs an edit on the work object and the value gets populated in corresponding editable control.
For some of the dynamic selects, the default value displayed in Edit mode is not the same as it was depicted in Review mode.
Notice the encircled value in dynamic select:

Error Messages
Not Applicable.
Steps to Reproduce
- Create a layout with two rows.
- In first row, configure a cascading dynamic select control.
- In the second row, configure only one dynamic select control.
Root Cause
The problem is due to the way the dynamic selects are configured.
The dynamic select control configured in second row, does not have any child dynamic select to load.
However, it has a 'TargetID' specified and it points to the child dynamic select present in the first row.

This causes the child dynamic select to be loaded twice, when work object is opened in Edit mode. During first load, it gets the correct value.
However, the subsequent load causes it to load with different value.
Resolution
The issue is resolved after removing the 'TargetID' field that is specified in the dynamic select of second row.
Published April 15, 2015 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.