Skip to main content
Community site session details

Community site session details

Session Id : xHxr1YS8LP6PF+GLd2grPL
Power Apps - Building Power Apps
Answered

Edit button within item on PowerApp to open to SharePoint list item

Like (0) ShareShare
ReportReport
Posted on 30 Jun 2023 10:19:30 by 94

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!

  • Stephenp88 Profile Picture
    94 on 03 Jul 2023 at 08:11:06
    Re: Edit button within item on PowerApp to open to SharePoint list item

    Thank you, Warren! That worked! I didn’t know you could do that ! 

  • Verified answer
    WarrenBelz Profile Picture
    149,116 Most Valuable Professional on 30 Jun 2023 at 21:08:51
    Re: Edit button within item on PowerApp to open to SharePoint list item

    @Stephenp88 .

    '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

  • Stephenp88 Profile Picture
    94 on 30 Jun 2023 at 12:14:01
    Re: Edit button within item on PowerApp to open to SharePoint list item

    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 

  • WarrenBelz Profile Picture
    149,116 Most Valuable Professional on 30 Jun 2023 at 12:08:31
    Re: Edit button within item on PowerApp to open to SharePoint list item

    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

     

     

  • Stephenp88 Profile Picture
    94 on 30 Jun 2023 at 12:05:38
    Re: Edit button within item on PowerApp to open to SharePoint list item

    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?

  • WarrenBelz Profile Picture
    149,116 Most Valuable Professional on 30 Jun 2023 at 12:01:33
    Re: Edit button within item on PowerApp to open to SharePoint list item

    @Stephenp88 ,

    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

  • Stephenp88 Profile Picture
    94 on 30 Jun 2023 at 11:20:20
    Re: Edit button within item on PowerApp to open to SharePoint list item

    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. 

  • WarrenBelz Profile Picture
    149,116 Most Valuable Professional on 30 Jun 2023 at 11:10:54
    Re: Edit button within item on PowerApp to open to SharePoint list item

    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.

  • Stephenp88 Profile Picture
    94 on 30 Jun 2023 at 11:10:47
    Re: Edit button within item on PowerApp to open to SharePoint list item

    That’s not what I need

  • Stephenp88 Profile Picture
    94 on 30 Jun 2023 at 11:00:26
    Re: Edit button within item on PowerApp to open to SharePoint list item

    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,””))

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading complete