Hello!
I am trying to link a button on a detail page in PowerApps to open the edit page in SharePoint Lists.
I have an app with a ‘Browse’ page. Once you select an item in the gallery, it opens to a ‘Detail’ screen that shows you all the information about the item you’ve selected. Once on the Detail page, I would like an Edit button but rather than use an edit page within PowerApps I would like it to open to the selected items edit page on SharePoint Lists.
Your help will be greatly appreciated! thank you in advance!
Thank you, Warren! That worked! I didn’t know you could do that !
'Link to item' is part of every SharePoint record - you simply need to get it from the current record - as I mentioned, referring to it from inside a gallery or to the record selected from it. How do you select your current record ? From your post you have a Browse Gallery, so it would be
Launch(BrowseGallery1.Selected.'Link to item')
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
MVP (Business Applications) Visit my blog Practical Power Apps
I see!
How can I produce a link to the item? I assumed I would need to have a static url and then con at that with the ID field to produce the full link
Hi @Stephenp88 ,
The example I gave was for it being run from a Gallery where ThisItem would be valid. If you have selected the record from a gallery, you can use
Launch(YourGalleryName.Selected.'Link to item')
but ultimately you simply need that field from the desired record.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
MVP (Business Applications) Visit my blog Practical Power Apps
When I type Launch( it doesn’t recognise ThisItem. Also, how can I add the link to the item? Would I need to have a column that has the url for every item?
That is exactly what I posted except you cannot open the Edit page - it opens on View and you need to select Edit from the top menu (there is no parameter to open it in Edit mode). You just need to launch the 'Link to item' property of the relevant record from Power Apps.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
MVP (Business Applications) Visit my blog Practical Power Apps
I have an app.
I have a SharePoint list.
The aforementioned list is plugged into the app.
I have two pages on my app. One is a gallery which you can scroll through the items on the SharePoint list.
When you click an item it takes you to the second page of the app which shows you further detail of the item you selected.
Once on this detail page, I would like an edit button to open a browser tab to the items edit page on SharePoint lists.
Hi @Stephenp88 ,
I am wondering if we are talking about two different things - are you trying to open the record in SharePoint, but showing the integrated Power App directly ? You can then simply select Edit in the top menu it so. If this is the case, you just need to use the code I posted from your app.
I am a little lost with your logic with this Launch( Concat( ‘DATA’, URL&ID,””)) and where you are trying to use it.
That’s not what I need
I tried that but getting errors.
Sorry if I’m not clear, still learning!
Essentially, I have two columns on SharePoint lists, one that’s a status url and another that is the ID for the item. Combining the two would create the correct url to open the specific item in SharePoint lists.
I’ve tried the below but it produces a url for every ID rather than just the one you’re currently viewing on the app:
Launch( Concat( ‘DATA’, URL&ID,””))
WarrenBelz
637
Most Valuable Professional
stampcoin
570
Super User 2025 Season 2
Power Apps 1919
473