Support Article
Custom attachment category is not selected
SA-103528
Summary
A custom category is created and set as the default in the Attach content control. At runtime, on attaching any file, the default category is 'File' instead of the custom category.
Error Messages
Not Applicable
Steps to Reproduce
- Create a custom category.
- Select the custom category as the default in the Attach content control.
- At runtime, attach any file.
Root Cause
A defect in Pegasystems’ code or rules.
Resolution
Perform the following local-change:
In the Work-.pzInitAttachContent activity, make changes to pass the current Parameter page in a call to the Work-.InitAttachmentPage activity. This passes the AttachmentCategory parameter to the Data-WorkAttach-File.pyDefault data transform.
This feature is implemented in the following:
- Pega Platform 8.1.8
- Pega Platform 8.2.6
- Pega Platform 8.3.2
- Pega Platform 8.4
Published April 9, 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.