Sometimes due to some reason when SharePoint developer is shared only with SharePoint site url and list id – using this two combination, 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 build this URL in steps.
I know my site url and list ID as below:
Site URL : https://globalsharepoint.sharepoint.com/sites/TestSite
Construct the URL to get the “list title” from list edit page like below:
From the above step 1 got the list title as “Test List” as an example.
Now lets generate the default list view URL as like below:
Syntax: “Site URL”+”/Lists/”+ListTitle (we got it from the above step 1)
Now lets access this URL – we will land into the default list view page like below:
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: