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 / Adding a simple refres...
Power Apps
Answered

Adding a simple refresh button - data source name not recognised

(0) ShareShare
ReportReport
Posted on by 14
I added an Icon control, I changed the "OnSelect" property to Refresh(MSToDo)
 
You can see the name of the data source is correct... what am I doing wrong?
 
Categories:
I have the same question (0)
  • Verified answer
    SpongYe Profile Picture
    5,715 Super User 2026 Season 1 on at
    Hi @philip_dt
     

    The Refresh function updates the records of a data source.

    Please note that the MSToDo connector operates similarly to a Custom Connector and is not considered a valid data source. When you use an instance of this connector, it retrieves the most recent data available.

    An instance for MSToDo would appear as follows:

     
    Hope this help!
  • philip_dt Profile Picture
    14 on at
    So, the problem is really that it's a terrible error message?
     
    When you say "When you use an instance of this connector, it retrieves the most recent data available," do you mean just once, like a snapshot?
     
    Therefore, rather than populating my Control straight from the data source, if I populated a Collection from the data source, and made my refresh button run ClearCollect to update the Collection, it would force a new retrieval from the data source?
  • Verified answer
    SpongYe Profile Picture
    5,715 Super User 2026 Season 1 on at
    Hi @philip_dt,

    Yes, the error message could definitely be clearer.

    When I mentioned "it retrieves the most recent data available," I meant that the connector fetches the latest data at the time of the request, similar to a snapshot.
    To address your scenario, you're correct. Instead of populating your control directly from the data source, you can use a Collection. By using ClearCollect in your refresh button, you can force a new retrieval from the data source, ensuring your Collection is updated with the latest data.
     
    Let me know if you need further clarification!

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!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 88

#2
WarrenBelz Profile Picture

WarrenBelz 85 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 45

Last 30 days Overall leaderboard