Sesha Harikrishna Kanduri (SeshaHarikrishnaK)
Senior Software Engineer
SeshaHarikrishnaK Member since 2014 26 posts
Posted: November 15, 2019
Last activity: December 9, 2019
Posted: 15 Nov 2019 15:08 EST
Last activity: 9 Dec 2019 4:46 EST

Attachment Category is not persisted at run-time

Hello Team,

I have a requirement to showcase the attached files. below are the steps I have taken

1. Created an Attachment Category- My requirement was to showcase only the ones attached in that category, Pega displays all the files by default.

2. Select a button as Other and provide the Attach Content control in it, doing so the Attachment category would be enabled and can be selected.

3. Pega always sets the Category as File, regardless of whatever is provided on the Section.

Why is this? Pega in the pzInitAttachContent Activity, 2nd step calls an Activity InitAttachmentPage which determines the Attachment Category in pyDefault Data transform. The Called activity has the Pass parameter page un-checked, because of this the section's parameter is not passed onto the Activity. I am unable to modify it too as it is a final rule. Can pega in the future releases please chek this?

I don't have access to raise support request, so instead i am pasting my findings here so that it might help others.

Low-Code App Development
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.