cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

How to refresh RSS feed ?

Dear all,

 

Is it possible to manual or automatic refresh a RSS feed ?

 

The standard Refresh() function doesn't work unfortunately.

 

thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

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:6.JPG

 

7.JPG

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

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Community Support
Community Support

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:6.JPG

 

7.JPG

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

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

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

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (82,108)