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 Sharepoint for...
Power Apps
Answered

Refresh Sharepoint form each time a element is selected on a SharePoint list

(0) ShareShare
ReportReport
Posted on by 59

Hi

 

I'm using PowerApps to customize a SharePoint list. It's a list of job offers where there is a button to sign up to that specific offer.

When the button is pressed, the apps navigates to a new screen with a OK message.

 

My problem is, if I try to select another item, the form appears on that OK screen.

 

How can I refresh everything each time the form appears? I tried with 'refresh(List)' on 'onVisible' or 'onView' with the SharePointIntegration, but it doesn't work.

 

Any help would be apreciated.

Categories:
  • mdevaney Profile Picture
    29,993 Moderator on at
    @U_Idigoras
    I’m not sure I understand exactly what you want to do. Can you please provide screenshots of: what action the user takes to navigate to the OK screen, the OK screen with a good result and the OK screen withal a bad result?

    Also, have you tried putting Refresh(your_datasource_name); in the sign up button itself


    Please Accept As Solution if this post answered your question so others can find it quicker. If you found the post helpful consider giving it a Thumbs Up
  • U_Idigoras Profile Picture
    59 on at

    This is when I select my first element on the SharePoint listThis is when I select my first element on the SharePoint listIf I close the form window and select a diferent element from the SharePoint list, it loads in this screen.If I close the form window and select a diferent element from the SharePoint list, it loads in this screen.

    I hope this make it clearer.

    What I want is, everytime a user clicks on a element, the form has to load fresh, on that list screen with the button.

    Right now that only happens if I refresh the whole sharepoint web page.

    Thank you for your time.

  • mdevaney Profile Picture
    29,993 Moderator on at

    @U_Idigoras 

    My suggestion would be to change these 3 properties within the SharepointIntegration.  Try this:

     

    OnNew

    Navigate(your_first_screen_name, ScreenTransition.None); NewForm(your_form_name)

     

    OnView

    Navigate(your_first_screen_name, ScreenTransition.None); ViewForm(your_form_name)

     

    OnEdit

    Navigate(your_first_screen_name, ScreenTransition.None); EditForm(your_form_name)

    Thanks for sending the screenshots!

  • Verified answer
    RezaDorrani Profile Picture
    12,145 on at

    Hi @U_Idigoras 

     

    You would need to reset the forms

     

    OnNew

    ResetForm(your_form_name); NewForm(your_form_name); Navigate(your_first_screen_name, ScreenTransition.None)

     

    OnView

    ResetForm(your_form_name); ViewForm(your_form_name); Navigate(your_first_screen_name, ScreenTransition.None)

     

    OnEdit

    ResetForm(your_form_name); EditForm(your_form_name); Navigate(your_first_screen_name, ScreenTransition.None)

     

    ResetForm will ensure data from previous cached instance is not held

     

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard