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

Adding a simple refresh button - data source name not recognised

(0) ShareShare
ReportReport
Posted on by 12
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 2025 Season 2 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!
  • philip_dt Profile Picture
    12 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 2025 Season 2 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!

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
Kalathiya Profile Picture

Kalathiya 428

#2
WarrenBelz Profile Picture

WarrenBelz 374 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 333 Super User 2025 Season 2

Last 30 days Overall leaderboard