web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Refresh the Attachment...
Power Apps
Unanswered

Refresh the Attachment Control

(2) ShareShare
ReportReport
Posted on by 57

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.

Categories:
I have the same question (0)
  • v-micsh-msft Profile Picture
    on at

    Hi @tdupton,

     

    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.

    Refresh(DataSource)

    Which should be able to have the related control updated with the modified value.

    Function reference:

    Refresh

     

    Regards,

    Michael

     

  • tdupton Profile Picture
    57 on at

    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.

     

    Make sense?

  • v-micsh-msft Profile Picture
    on at

     

    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:

    https://social.technet.microsoft.com/Forums/en-US/home?forum=onlineservicessharepoint

     

    Regards,

    Michael

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard