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

Remove "Select..."/disable category drop-down in pyAttachContent

SA-38513

Summary



After presetting the Category by adding a Property-Set (pyCategory = "#Category") step before Java step in pyUploadFile, the category drop-down in pyAttachContent flowaction to attach files still show the "Select..." in drop-down.

The users can select other options from the Category drop-down, and once user select that, it will attach the file to the wrong category.

User requires a way to hide or remove the "Select..." or disable the drop-down.


Error Messages



Not Applicable


Steps to Reproduce



Click + Add New to attach files to WorkObject.


Root Cause



Not Applicable

Resolution



Perform the following local-change:

Disable the drop-down, or make it read-only by setting two other properties in the second-step of pyUploadFile activity.


Published July 3, 2017 - 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?

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