I have a SharePoint Library where the users use the default SP form to create a new document set. Once that happens, several Approvers are to navigate to the item to provide responses. So I have a column in my Library that, when clicked, launches a Canvas app that I want to populate the App's fields with.
I added a Gallery, connected to the Library as well. This is my Form's Item property:
If(!IsBlank(Param("ID")),LookUp(Contracts,ID = varID),Gallery1_1.Selected) When I open the form (by clicking the column's link), I have to manually select an item in the gallery in order to populate the form's fields.
My question is, how can I set the Gallery to auto-select an item with the same ID#? Like, if I'm in the library, and click on item 165, the App's gallery will auto-select that specific item when I open the form?
Thanks!
If(!IsBlank(Param("ID")),LookUp(Contracts,ID = Param("ID")),Gallery1_1.Selected). Convert ID param in LookUp function to 'Number' type if needed. Let me know if this works for you.