Question
AttachFile control doesn't restrict attachment category
We are on Pega Platform 8.2.1
For our case type, we have two attachment categories defined POR and CRF.
In the section rule, I added the control AttachFile and set Category="POR", so that on this screen any attachments added are only tagged to POR category.
However, the attachment pop-up dialog box shows all the three categories including 'File' as the default value.
How do I restrict the AttachFile control only to a specific attachment category? The user should not see multiple categories in the pop-up window.
Please see the attached screenshot.
Thanks
Sri
Hi Sri,
We have faced similar issue while building an application. I don't think we can edit or remove the 'File' option from category list as it is set as default by pega OOTB.
Also, if your application requirement is to attach both 'POR' and 'CRF' in the same screen, you can just add one 'add attachment' option and configure it to select one of those option, so the end user can add both attachments by selecting to attach once, instead of adding both of them separately.
Adding to it, please refer to the following post related to attachments:
https://community1.pega.com/community/pega-support/question/list-documents-upload-without-custom-controls
Hope this helps.