Dear all,
Is it possible to manual or automatic refresh a RSS feed ?
The standard Refresh() function doesn't work unfortunately.
thanks!
Solved! Go to Solution.
Hi @hermans25,
Could you please share a bit more about your scenario?
Do you add a RSS connection within your app?
If you add a RSS connection within your app, I think the Refresh() function could not achieve your needs.
The RSS is a Action data source within PowerApps, the Refresh() function could only be used to refresh a table data source.
More details about Action data source and Table data source within PowerApps, please check the following article:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/connections-list
Currently, if you want to manual or automatic refresh a RSS connection, I afraid that there is no way to achieve your needs in PowerApps.
As an alternative solution, I think the Timer control and ClearCollect function could achieve your needs. I have made a test on my side, please take a try with the following workaround:
Set the Duration property of the Timer control to following:
1000
Set the Repeat property of the Timer control to following:
true
Set the AutoStart property of the Timer control to following:
true
Set the OnTimerEnd property of the Timer control to following:
ClearCollect(FeedCollection, RSS.ListFeedItems("https://powerappslive.wordpress.com/feed/"))
On your side, you should type:
ClearCollect(FeedCollection, RSS.ListFeedItems("Your feed Url")) /*<- Use FeedCollection as data source within your app*/
Set the Items property of the Gallery control to following:
FeedCollection
The above FeedCollection collection would be refreshed every 1 second. You could use the FeedCollection as data source within your app.
In addition, if you want to invisible the Timer control, please set the Visible property to false.
Best regards,
Kris
Hi @hermans25,
Could you please share a bit more about your scenario?
Do you add a RSS connection within your app?
If you add a RSS connection within your app, I think the Refresh() function could not achieve your needs.
The RSS is a Action data source within PowerApps, the Refresh() function could only be used to refresh a table data source.
More details about Action data source and Table data source within PowerApps, please check the following article:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/connections-list
Currently, if you want to manual or automatic refresh a RSS connection, I afraid that there is no way to achieve your needs in PowerApps.
As an alternative solution, I think the Timer control and ClearCollect function could achieve your needs. I have made a test on my side, please take a try with the following workaround:
Set the Duration property of the Timer control to following:
1000
Set the Repeat property of the Timer control to following:
true
Set the AutoStart property of the Timer control to following:
true
Set the OnTimerEnd property of the Timer control to following:
ClearCollect(FeedCollection, RSS.ListFeedItems("https://powerappslive.wordpress.com/feed/"))
On your side, you should type:
ClearCollect(FeedCollection, RSS.ListFeedItems("Your feed Url")) /*<- Use FeedCollection as data source within your app*/
Set the Items property of the Gallery control to following:
FeedCollection
The above FeedCollection collection would be refreshed every 1 second. You could use the FeedCollection as data source within your app.
In addition, if you want to invisible the Timer control, please set the Visible property to false.
Best regards,
Kris
Fantastic, this works !!!!
and furthermore I added also a Refresh button, with
OnSelect = ClearCollect(FeedCollection, RSS.ListFeedItems("https://powerappslive.wordpress.com/feed/"))
Which also works fine .
Many thanks for the fast and accurate answer!
Hi @hermans25,
Have you solved your problem?
If you have solved your problem, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify.
Best regards,
Kris
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
203 | |
175 | |
62 | |
32 | |
30 |
User | Count |
---|---|
325 | |
268 | |
104 | |
74 | |
56 |