cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
v-xida-msft
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
v-xida-msft
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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (49,769)