Support Article
Unable to customize message in Field Level Tracking
SA-100286
Summary
When enabling Field Level Tracking for all fields in a page list, unable to customize messages (in Field Level Tracking).
Error Messages
Not Applicable
Steps to Reproduce
- In the data transform rule form (pyTrackSecurityChanges), leave the Source column blank for the row which sets the property (in the Target column).
- Create three Field Value rules.
- Set the first key part to the rule type or data class.
- Ser the second key part to the property name.
- Set the final key parts to the three values,
- TrackSecurityChange_Add
- TrackSecurityChange_Change
- TrackSecurityChange_Remove
- On the Localized Label tab, enter text that must display in the Memo field.
- In the TrackSecurityChange_Add field value, use {1} to refer to the new value of the tracked property.
- For the TrackSecurityChange_Change field value, use {1} to refer to the old value and {2} to refer to the new value.
- For the TrackSecurityChange_Remove field value, use {1} to refer to the old value of the tracked property.
Root Cause
An issue in the custom application code or rules.
The data transform was not modified to display the Audit message as Changed the value (instead of the 'Added' and 'Removed' message) when the value was changed in the page list. Additionally, the Field Value was created in an incorrect class.
Resolution
Perform the following local-change:
- In the pyTracksecurityChange data transform, add the page list property as below:
Set .pagelistname(1).propertyname
- Create the Tracksecuritychange_Add, Tracksecuritychange_Remove, and Tracksecuritychange_Change Field Values for the property for which the Audit message must display in the class in which the property is created.
Published July 7, 2020 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.