Search code examples
urleditsharepoint-onlinepower-automateeditmode

How to create a link to directly edit a SharePoint list item


I have a SharePoint online 2016 site, with a List. Now i want to have a URL (build in MS Flow) that will point directly to a specific item in Edit mode.

Meaning to have this view (both list behind and right "popup" screen): enter image description here

And not like this (Copy link url) enter image description here

I am able to have it opened in full screen but not like the screenshot. Can anyone tell me if this is even possible?

I have looked into these:

and tried literally everything suggested in all these links but no luck. Things like:

Web URL/Lists/List Name/AllItems.aspx?displaymode=design 
Web URL/Lists/List Name/EditForm.aspx?ID={List item ID}    
/DispForm.aspx?ID=...
/EditForm.aspx?ID=...
?ID=123&pagemode=edit   
?ID=123&mode=edit 
PageType=4

Any suggestion is greatly appreciated!


Solution

  • Devtools shows that after clicking on "Edit" button above list name (the way you open this extended edit menu from first screenshoot), a REST API call is fired:

    https://tenant.sharepoint.com/sites/test_site/
    _api/web/GetList(%27%2Fsites%2Ftest%5Fsite%2FLists%2Ftest%5Flist%27)
    /RenderExtendedListFormData(itemId=4,formId='editform',mode='2',options=15,cutoffVersion=0)
    

    And that's it - RenderExtendedListFormData method fetch data and later, I guess, JavaScript does the rest of magic and slides out the edit menu.

    To sum up: I am afriad it will be not possible using only pure URL.