cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AKB_2K
Helper II
Helper II

Update gallery selected variable after data is saved to SharePoint list

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

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Drrickryp
Super User II
Super User II

@AKB_2K 

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

View solution in original post

1 REPLY 1
Drrickryp
Super User II
Super User II

@AKB_2K 

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

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

Top Solution Authors
Top Kudoed Authors
Users online (90,283)