Get SharePoint list URL by list ID Demo

Instantly get SharePoint list URL by list ID – Office 365

No comments

Loading

Get SharePoint list URL by list ID – Sometimes for some reason when SharePoint developer is shared only with SharePoint site URL and list id – using these two combinations, they need to generate the default view URL.  Then how can we construct the list URL? I will show here in this post how we can get the SharePoint list URL by list ID in steps.

Get SharePoint list URL by list ID step by step

Step 1:

I know my site URL and list ID as below:

Site URL : https://globalsharepoint.sharepoint.com/sites/TestSite

ListID=”356640B5-9F55-4468-8AA9-A8C34ED29490″

Construct the URL to get the “list title” from list edit page like below:

“Site URL”+”/_layouts/15/listedit.aspx?List=”+ListID

https://globalsharepoint.sharepoint.com/sites/TestSite/_layouts/15/listedit.aspx?List=%7B356640B5%2D9F55%2D4468%2D8AA9%2DA8C34ED29490%7D

Get SharePoint list URL by list ID

Step 2:

From the above step 1, got the list title “Test List” as an example.

Now let’s generate the default list view URL as below:

Syntax:  “Site URL”+”/Lists/”+ListTitle (we got it from the above step 1)

Example:

https://globalsharepoint.sharepoint.com/sites/TestSite/Lists/Test List

Now let’s access this URL – we will land on the default list view page like below:

Get SharePoint list URL by list ID using the PowerShell

Using PowerShell command Get SharePoint List Title by ID: SharePoint get list by ID

Apparently, using the simple PowerShell command also we can get the List Title by List ID and construct the URL accordingly:

Get-SPSite "http://SharePointserver/sites/TestSite/" | Get-SPWeb -Limit ALL | %{$_.Lists} |?{$_.ID eq "356640B5-9F55-4468-8AA9-A8C34ED29490"} |ft Title, ParentWebURL, RootFolder

Summary: Get SharePoint list URL by list ID (List URL SharePoint)

Thus, in this article, we have learned how to get the SharePoint list URL by the list ID.

See Also: SharePoint Online PowerShell

You may also like the below SharePoint Online PowerShell tutorials:

Buy SharePoint Online & Microsoft 365 Administration eBook

Download SharePoint Online PDF Book

Download SharePoint Online & Office 365 Administration eBook

Buy the premium version of SharePoint Online & Office 365 administration eBook from here:



Buy SharePoint Online & Office 365 Administration eBook


 

Get the free demo PDF eBook from here:

FREE DOWNLOAD

Send download link to:

Subscribe to get exclusive content and recommendations every month. You can unsubscribe anytime.

 

About Post Author

Do you have a better solution or question on this topic? Please leave a comment