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

Attach content ignores 'File Name' setting

SA-37374

Summary



User complained that the “Attach content control” ignores 'File Name' setting:

- when it is set to 'Property reference' ; file name of attachment is not populated with value of property
- when it is set to 'Text' ; file name of attachment is not populated with provided text


Error Messages



Not Applicable

Steps to Reproduce



1. Create simple Case with single: Flow, Flow Action and Section.
2. Define text property FileName for case.
3. In section include 'Attach content' control.
4. Configure 'Attach content' control in Attachment settings set File Name to 'Property Reference' and provide property defined in step #2 above.
5. In pyDefault for case set FileName value, example "foo".
6. Create case.
7. In section click 'Attach content' button and provide file:

  • Expected results: File will be attached with name "foo" (value of .FileName property)
  • Real results: File is attached with original name


Root Cause



Attach Content control is for mobile devices and attachment settings are not applicable for desktop.


Resolution



Here’s the explanation for the reported behavior :

Attach Content control is for Mobile devices and the setting that appear during the design time are supported only for Mobile.

When the control is used in desktop Pega just shows the modal to do attachments which is an existing control written for desktop purpose.

So attachment settings are ignored for desktop and applicable only for Mobile.

Published May 16, 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?

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