Support Article
Invoking a local action from button does not work as expected
SA-17180
Summary
When launching a modal dialog as a local action, clicking the 'submit' button in the local action does not populate the results of the dialog to the screen or close the modal dialog.


Error Messages
Not Applicable
Steps to Reproduce
1. Invoke a local action on click of a button.
2. The local action should open a Modal Dialog.
3. On click of Submit from the Modal Dialog, the behind screen should populate some values.
4. Save this flow and execute.
Note: The screen is not getting refreshed, due to which the document details are present on the screen even though they values are present on the clipboard. Also, the modal window screen of the local action stays on the screen
Root Cause
A custom Local Action was being used, where a file attachment was being tried.
Resolution
Perform the following local-change:
Use OOTB local action "AttachAFile" for doing file attachments through a Modal Dialog.

Published January 31, 2016 - 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.