96,002 total views, 3 views today
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
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:
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:
- Office 365: Getting started with SharePoint PnP PowerShell – installation
- In 2 steps convert a classic SharePoint page to modern using PnP
- Office 365: Retrieve hub sites and associated sites using PnP Powershell
- Create a modern team site using PnP PowerShell in SharePoint
- In 4 steps access SharePoint online data using postman tool
- SharePoint admin center: Learn SharePoint online administration in an hour – step by step
- SharePoint REST API: GET vs POST vs PUT vs DELETE vs PATCH
- Office 365: Understanding the hub site in SharePoint online
- Working with lists and list items with REST
Buy SharePoint Online & Microsoft 365 Administration eBook
