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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard