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

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:
I have the same question (0)
  • mdevaney Profile Picture
    29,989 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,989 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,143 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

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 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard