Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us