I have a Powerapp Form with a Gallery which gets populated from Sharepoint list. In screen 1 i have a gallery which lists all items in a list.
When i click on the arrow it brings me to another screen (display Form)
Now i want to do reference that specific item from the flow where users are directed to the display form of a specific item in a flow. How can we do that?
When you select the item in the gallery, you can then reference the selected item in the gallery like this: GalleryName.Selected
Does that solve the problem or are you looking for something different than that?
I could do that in powerapp but i want to reference that display form from Flow so i need url that can reference that specific item.
Like this:
https://abc.sharepoint.com/abc_technology/Lists/Document%20Change%20Request/DispForm.aspx?ID=67
Can i do same in powerapps.
Hi @npokhrel123
Could you please explain what is your requirement:-
Is it, from the flow in an email, there is a link that will open the specified document in powerapps display form?
I am trying refer to a item in powerapp Form using a url. Cna we do that?
Hi @npokhrel123 ,
Could you please share a bit more about your scenario?
Do you want to open a specific item within your PowerApps form using a URL?
Further, which app do you created on your side? Do you create a standalone canvas app based on your SP list? Or custom a form using PowerApps in your SP list?
If you created a standalone canvas app based on your SP list, and want to open a specific form item via a URL, the user @Itsmesri and @Brice235i have faced same issue with you, please check my response within the following threads:
On your side, you should configure your URL link as below:
https://web.powerapps.com/apps/955737dc-d53b-4eca-b71c-92c7ed067a29?ID=6
Or
https://web.powerapps.com/webplayer/iframeapp?source=iframe&appId=/providers/Microsoft.PowerApps/apps/955737dc-d53b-4eca-b71c-92c7ed067a29&ID=6
Note: The '955737dc-d53b-4eca-b71c-92c7ed067a29' represents the App Id of your canvas app.
Please check the following article for more details:
Within your canvas app, set the OnStart property of the App or OnVisible property of the first screen of your app to following:
If(
!IsBlank(Param("ID")),
Set(CurrentItem, LookUp('YourSPList',ID = Value(Param("ID"))));Navigate(DetailForm, None)
)
Set the Item property of the Display form control to following:
CurrentItem
If custom a form using PowerApps in your SP list, the user @bdc604 has faced same issue with you, please check the response within the following thread:
Please make sure that you have custom a form using PowerApps for your SP list, and then configure your URL as below:
https://abc.sharepoint.com/abc_technology/Lists/Document%20Change%20Request/DispForm.aspx?ID=67&pa=1&e=wzHGI1
Best regards,
Thank You that works Now can i want to add If Condition where if Param ID is available in query string do :
First(Filter('Document Change Request',ID= Value(vid)))
Else Do
Gallery2.Selected
How do i do that i tried Nested If didnt work:
If(!IsBlank(Param("ID")),First(Filter('Document Change Request',ID= Value(vid))))
,If(IsBlank(Param("ID")),Gallery2.Selected)
what did do wrong here.
User | Count |
---|---|
161 | |
86 | |
68 | |
63 | |
62 |
User | Count |
---|---|
211 | |
146 | |
93 | |
81 | |
68 |