Support Article
File category drop down shows Category Name instead of Label
SA-4096
Summary
In section pzAttachFileBrowseMultiDD_P "Browse upload for MultiFileDD"
File category drop down shows Category Name instead of the Label.
This section pzAttachFileBrowseMultiDD_P is Final and cannot be changed.
"Property for display text" says .pyCategoryName. It should be .pyLabel instead.
For example, if the Category Name is "GeneralInformation", the Label of "General Information" should display.
Error Messages
None
Steps to Reproduce
Create attachment category which has a Label different than category name. Make sure it is used for File attachments. Run local action AttachAFile. The drop down for categories will show the name instead of labels.
Root Cause
The root cause of this problem is a defect in Pegasystems’ code/rules pzAttachFileBrowseMultiDD_P
Resolution
This issue is resolved through the following local change:
Creat a Field value rule with label as ‘xxxx’ Field Name as ‘pyCaption’ and Translated value as ‘xxxxx_(fieldvalue rule)’. creat this rule in @baseclass.
At run time the attachment category dropdown displays this translated value instead of category rule name.
Published January 31, 2016 - 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.