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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Refreshing the source ...
Power Apps
Unanswered

Refreshing the source (control defaults) without manually updating browser

(0) ShareShare
ReportReport
Posted on by 177
Dear all,
 
I am facing the problem that I can't get my app to refresh the data after my complete submitting process is finished.
 
My app does not use an edit form, I am patching all my data and after patch is finished starting a power automate instant flow which gets the item via the ID called from power apps. The flow does some further updates on the item, including most importantly updating several hyperlinks via POST (both URL and text) which as I learned is still not possible from power apps - if anybody knows a way to patch both without power automate, that would be welcome as well.
 
Anyway, i would like to refresh controls after the workflow is finished automatically - currently it is only possible if user manually updates the browser (F5) or closes/reopens the items.
 
I could update some of the values I want by returning values from the workflow to power apps and updating some variables. But this is very messy and not a general solution.
 
I would like to have a way for all controls to pull new default values automatically.
 
The usual advice to use Refresh (data source) is not working for me - when I do that, nothing happens (at least nothing I would notice). Maybe I am doing something wrong?
 
An advice how to do this or what I might overlook when using the refresh function, would be highly appreciated.
 
Thanks in advance
Categories:
I have the same question (0)
  • BhaskarDhone Profile Picture
    1,394 Super User 2026 Season 1 on at
    share your code on default of the control which needs to be updated. 
  • Nuriel Profile Picture
    177 on at
    As an example here is a button with:
     
     
     
    OnSelect
     
    Launch(ThisItem.URL)
     
    ThisItem.URL is a hyperlink column which is updated by the flow, but before I manually refresh the browser fenster, it launches the old url
  • WarrenBelz Profile Picture
    155,111 Most Valuable Professional on at
    Hi @Nuriel,
    The trick here is using Respond to a Power App or Flow action at the end of your Flow and setting a Variable to what is sent back. The Variable is not important (although the ID is useful if it is a new record), however it forces Power Apps to wait for the result before continuing. You can then add Refresh(YourDataSource) after that and it will then allow you to query the updated or created record. I use it regularly (example photos uploaded in the field via a Flow can be viewed in a Gallery immediately).
     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)    Visit my blog Practical Power Apps    LinkedIn   
    Buy me a coffee
     
     
  • Nuriel Profile Picture
    177 on at
     
    that's exactly what I have been doing. I am passing variables via Respond to a Power App or Flow and use them e. g. to updatecontext some labels at least after the flow is finished.
     
    But putting Refresh (DataSource) after that doesn't do anything at all. I have played further a little bit after my post and, if instead of Refresh (DatasourceI do a lookup on same item in following manner:
     
    Set(
        varThisItem,
        LookUp(
            Datasource,
            ID = varSelectedListItemID
        )
    )
    This gets a part of controls automatically updated - which is already a progress.
     
    Unfortunately the hyperlink column stays resistant and wouldn't update still and the "launch" command in the OnSelect stays dead until I F5 the browser :(
  • WarrenBelz Profile Picture
    155,111 Most Valuable Professional on at
    Hi @Nuriel,
    The other issue (re-reading your initial post) is that URL fields in SharePoint are not really designed for the Power Apps connection and may not refresh - a bit like the experience with calculated fields (as you have experienced) - it you keep them to Text, does that make a difference ?
  • Raghu Kora Profile Picture
    10 on at
    Can you send response from Power automate flow back to app. That could help achieve this.
     
    But if that is not possible in your case, we might still be able to achieve it depending on how much time your flow execution takes. If you can provide more details like what is data source, and how much time it takes the flow run etc. it would be really helpful

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 502

#2
Vish WR Profile Picture

Vish WR 454

#3
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

Last 30 days Overall leaderboard