Get SharePoint list URL by list ID

No comments

 21,461 total views,  232 views today

Sometimes due to 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 SharePoint list URL by list ID in steps.

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

SharePoint List URL1

Step 2:

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

Now let’s generate the default list view URL as like 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 into the default list view page like below:

SharePoint List URL2

Using PowerShell command Get SharePoint List Title by ID:

Apparently, using the simple below 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:

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

See Also:

Free download SharePoint Online & Office 365 Administration eBook(238 Pages)

Get the PDF eBook from here:


[purchase_link id="0" style="button" color="blue" text="Free Download SharePoint Online & Office 365 Administration"]

 

 
FREE DOWNLOAD

Send download link to:

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