I have a flow that launches from a formviewer which converts the current Sharepoint list item to PDF and attaches it to the current list item. That part works fine. But, is there a way to "refresh" the attachment control? Even though I successfully build and attach a PDF you can't see it yet in the attachment control until you close and reopen the formviewer.
Could you please explain a bit for " formviewer which converts the current Sharepoint list item "?
Are you working with the EditForm control, or the custom form in SharePoint list?
Currently there is no ReSet property available for the Attachment control, we need to Reset the Form control in order to have the Attachment control reset to blank.
If here you would like to refresh the Attachment content, then please take a try to refresh the DataSource, after the flow excutes.
Which should be able to have the related control updated with the modified value.
Neither. Formviewer. A button on the formviewer launches a flow that runs to create and attach a PDF of the current item you are viewing on the formviewer.
I've already tried Refresh but that doesn't force the formviewer or attachment control to refresh. So, in summary, what I want is probably not possible - to refresh the formviewer or attachment control to see that the list item now has an attachment that it didn't have when the formviewer was opened.
So you are working with the Display Form within PowerApps?
If this is the case, then please consider take check of the Item property of the Display form control, make sure that data is updated when the data changes.
You may consider switch that data into a variable, and once the Flow runs, update the Variable with the changed record.
If here you are talking about the form Viewer of Infopath, then please consider post in the forum below:
Check out new user group experience and if you are a leader please create your group
Next call is happening on April 21st at 8a PST.
May the fourth be with you, join us online!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.