web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Refresh Form Viewer Po...
Power Apps
Answered

Refresh Form Viewer PowerApps

(0) ShareShare
ReportReport
Posted on by 8

Hi,

 

I have a form viewer that shows some articles from a dataset, and i have a like button that when clicked, increments the like count of that article, it works fine but i have to navigate back and click again on the article to see the like count incremented.

 

Does anyone know any way i can somehow refresh the form viewer?

 

I have tryed to change the TextBox text myself but without success. Also i have tryed to use the function ResetForm and Submit.

 

Thanks in advance.

Categories:
I have the same question (0)
  • Verified answer
    hpkeong Profile Picture
    2,944 on at

    Hi

     

    I can see that you are mentioning abotu "Auto-Refresh".

     

    The idea is:

    - Insert a Timer

    - Set the OnTimerEnd = FormulaAsOfYouClickAButton

    - Set Start, AutoStart, Reset, Repeat = True

    - Set the Duration = anyduration you want to refresh; 1000ms = 1sec.

     

    Please try it out.

     

    TQ

  • Verified answer
    v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @pedrobizdirect,

     

    Would you please share more details about the Data Source and the form control you used ?

    Also, please share the formula you configured with the Like button.

    Based on my understanding, the form control you used here should be a display form control, which is used to show the article details, and the corresponding article is selected from a gallery, so the item of the form control should be Gallery.selected.

    As Gallery.Selected is a templory data, only if you force refresh it (select again) , it will not update its data with the data source.

    The way that I suggest here is to use filter function directly with the Like count Label control, formula under the Text property should be the format as below:

    Filter(DataSource, ArticleName=Gallery.selected.ArticleName).LikeCount

    After that, add a refresh(DataSource) code after the formula under the OnSelect property of the Like Button.

    Doing it in this way should make the LikeCount in real-time.

     

    Regards,

    Michael

  • pedrobizdirect Profile Picture
    8 on at

     Hi @v-micsh-msft,

     

    Thank you so much for your reply.

     

    It worked fine. Now the Like count is refreshing in real time.

     

    Best Regards,

    Pedro

  • pedrobizdirect Profile Picture
    8 on at

    Hi @hpkeong,

     

    Thank you for you reply. I tryed using the Filter function and it's working fine, Nonetheless thank you once again.

     

    Best Regards,

    Pedro

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard