cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
hermans25
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

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

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
Frequent Visitor

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

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
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (8,118)