Is it possible to select a gallery item and it redirect the user to another page for editing?
For example, lets say the user sees a gallery list and wants to select one for editing-
Then when selected, it opens that particular item up on Screen 3 maybe in a edit form(?) and then they can save the changes back to SharePoint, and it redirects back to Screen 2 where the Gallery is and it is now updated.
Is this possible? And if so, how.
Thanks!
Solved! Go to Solution.
I found a video by Reza Dorrani that was perfect for this-
This is possible. On gallery window Select(Parent);Navigate(EditScreen1). Same way on Edit screen Save and Navigate to Galley
@StalinPonnusamy when I save the EditForm, what is the formula for patching the current SharePoint record?
Patch(Employee,
Defaults(Employee),
{Lookup:{'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
Id:Gallery1.Selected.ID,
Value:Gallery1.Selected.Title}
}
)
If you are in an EditForm, you will NOT want to Patch anything, you will want to SubmitForm
So, on your Edit Screen in the EditForm, set the Item property to: yourGalleryName.Selected
In the "save" that you have, put the following formula: SubmitForm(yourFormName)
In the OnSuccess action of the Form, put the following: Back()
I hope this is helpful for you.
I found a video by Reza Dorrani that was perfect for this-
It's fine, but his video highlight what not to do with multiple forms - Patch!! When you use his method, you lose the functionality of the EditForm. If you'd like to see how to do it properly and NOT lose the functionality of the form, then you can watch my video on the subject.
User | Count |
---|---|
252 | |
102 | |
94 | |
50 | |
38 |