cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
hermans25
Level: Powered On

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 Team
Community Support Team

Re: How to refresh RSS feed ?

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 Team
Community Support Team

Re: How to refresh RSS feed ?

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

hermans25
Level: Powered On

Re: How to refresh RSS feed ?

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!

Community Support Team
Community Support Team

Re: How to refresh RSS feed ?

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 364 members 5,432 guests
Please welcome our newest community members: