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

Unable to select attachment category when uploading file

SA-65753

Summary



Unable to select the Attachment category which is a mandatory field when uploading a file. On selecting a file and clicking the Attach button, the attachment must not upload with the default file category.


Error Messages



Not Applicable


Steps to Reproduce

  1. Define the file attachment category in pzAttachFileDDFileList.
  2. File category dropdown make it as mandatory.
  3. Click the Attach from file in the File Attachment widget
  4. Browse a file and click the Attach button immediately. The file is uploaded without selecting a category from dropdown


Root Cause



If a file is not selected, the attachment is uploaded as the default file category.


Resolution



Perform the following local-change:
  1. Customize the pyAttachContent flow action and the section to hide the Attachment button till the file is uploaded to the server.
  2. Display the attachbutton based on the pzAttachmentsDropped When rule.

Published January 5, 2019 - 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