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 / Update gallery selecte...
Power Apps
Answered

Update gallery selected variable after data is saved to SharePoint list

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello All,

 

I have created 2 different galleries and linked both these galleries to same edit form using variable

Navigate(EditView, ScreenTransition.None,{itemSelected: ThisItem}); 

 

This code works fine for both the galleries. Now when user updates and saves any changes using the edit form command SubmitForm(Form_Ticket), it doesn't get reflected in the form directly even though data is being saved in to the backend SharePoint list. This is due to the fact that Edit form item is still set to "itemSelected" variable which is not getting updated with the latest changes. If user navigates back to gallery and selects the item again, the changes get reflected in the edit form.

 

Can someone let me know what command I should add to save statement of the form so that after successful data save, the itemSelected is also updated with the latest changes?

 

Thanks,

Anup

 

 

Categories:
I have the same question (0)
  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Anonymous 

    Try this as the item property of the form Lookup(Splist,ID=itemSelected.ID)

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
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard