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

Error message displays incorrectly when using AttachFile control

SA-55416

Summary



The error message displays incorrectly when using the AttachFile control. The screen displays 'Error' instead of the complete error message.


Error Messages

Error


Steps to Reproduce

  1. Configure an AttachFile control
  2. Configure a button to validate the file properties through an activity
  3. Set the error message through property-set-message for the error scenario


Root Cause



A software use or operation error.
AttachFile is non-auto control and an Available rule and it does not add error associated to property from the server. The control is customized to add the error messages. However, this behavior is also observed for other controls such as TextInput.



Resolution

Perform the following local-change:
  1. Apply HFix-42567. This resolves the missing error message behavior for controls such as TextInput
  2. Use FilePath control instead of the AttachFile control

 

Published July 23, 2018 - 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