File category drop down shows Category Name instead of Label
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.
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.
The root cause of this problem is a defect in Pegasystems’ code/rules pzAttachFileBrowseMultiDD_P
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.
0% found this useful