Skip to main content


 

Symptoms



The user had a unique identifier residing in a SharePoint list column the needed to be surfaced in both the Display and Edit forms. When they tried to accomplish this the corresponding data labels on both forms were rendering blank.

 

Diagnoses



The unique identifier that the user was using was a hyperlink and data labels do not respond well to receiving hyperlinks (there is a control specifically designed for this) and this explains the problem with the Display Form. For the Edit form a required field 'GetListItem -ID' was missing.
 

Resolution

The user was displaying the hyperlink as a number and that number was a direct reflection of the list item ID. We were able to leverage this fact by editing the Display Form with an asynchronous set properties of a control rule which we configured to set the Issue ID data label to the List Item ID.

For the Edit form we located the rule that corresponded to the error message and as an input for the GetListItem event we fed in the ID parameter and after doing so the error no longer surface and the Edit Form Displayed the ID appropriately.

 




 
Be the first to reply!

Reply