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
- Configure an AttachFile control
- Configure a button to validate the file properties through an activity
- 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:- Apply HFix-42567. This resolves the missing error message behavior for controls such as TextInput
- Use FilePath control instead of the AttachFile control
Published July 23, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.