Share via

SharePoint URL Syntax - How to format URL to edit item in a list

Anonymous
2021-09-01T13:09:28+00:00

I'm looking for the syntax for a URL that I can give users that will take them to a specific record in a SharePoint list in edit mode. 

Assume I have a SharePoint list called "mylist" with a few fields (myID, date, comment).  Assume my recordset looks like this:

myID, date, comment

001, 20210830, "you are awesome"

002, 20210830, "you are really awesome"

I've spent hours trying to get this syntax correct unless this just can't be done the way I'm thinking.  Here's an example of the last syntax I was playing around with for reference: https://mydomain.net/sites/abc123/lists/mylist/item/editifs.aspx?Field=myID&FieldValue=002

I can't get it to take me to the item I want.

What am I doing wrong?  Thanks.

Microsoft 365 and Office | SharePoint | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2021-09-01T16:08:36+00:00

Hello,

Thanks for writing back and explaining, as far as I know, there shouldn't be any syntax for editing the list item based on the own ID in the form because when I check the URL when editing the specific item in the SharePoint list, the URL syntax has its own item ID, Source, ContentTypeID but no Item fields in URL. Even I did searching to find out the result but couldn't find any solution to meet the requirement, so I request you post your concern in Microsoft Q & A communityto get help from experts.

Appreciate your understanding and stay safe!!

Best Regards,

Chitrahaas

Was this answer helpful?

0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Anonymous
    2021-09-01T15:02:03+00:00

    Hello,

    Generally, every item in the SharePoint Online list has its own item ID and if you want to edit the item via URL, you just need to enter the EditForm.aspx?ID= at the end of the List URL.

    For example, URL of SharePoint Online list: https://tenantname.sharepoint.com/sites/sitename/listname

    Now, if you want to edit the list item via URL: https://tenantname.sharepoint.com/sites/sitename/listname/EditForm.aspx?ID=

    Note: At ID= we need to enter the ID of the item to edit.

    Best Regards,
    Chitrahaas

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2021-09-01T15:34:56+00:00

    Hello,

    Generally, every item in the SharePoint Online list has its own item ID and if you want to edit the item via URL, you just need to enter the EditForm.aspx?ID= at the end of the List URL.

    For example, URL of SharePoint Online list: https://tenantname.sharepoint.com/sites/sitename/listname

    Now, if you want to edit the list item via URL: https://tenantname.sharepoint.com/sites/sitename/listname/EditForm.aspx?ID=

    Note: At ID= we need to enter the ID of the item to edit.

    Best Regards,
    Chitrahaas

    Thanks for the feedback. I'm looking for the syntax to call my own ID that is also a field in the same form....not the ID that SharePoint assigns on its own. Can you provide the syntax for that?

    Was this answer helpful?

    0 comments No comments