This simple 3 step flow will convert an easily found listId / GUID into a usable URL.
I did not make a cookbook because I don't wish to upload ZIPs of my flows as they contain information.
The reason I needed it is that there's no (programmatical) simple way to reliably get the URL of a list, since the list name may have been changed since it was created. This is almost 100% true for all of my lists, since when I create them I make them with a one word, URL friendly, name, to avoid the %20 encoding effect and keep things tidy.
I use this in my master "list of lists" which then catalogues all the lists that I have on every site. That will be added shortly.
I think you should be OK to skip steps 6, 7, and 8, and just use the reference schema code that I've put at the end, but it's your lookout there.
Most of the work is done in the expression in the Set variable' action, which is basically trimming the site "name" out of the extracted information. I used this solution to help with that:
Hope that this can help folks out elsewhere.
If someone needs me to put this in the form of a question, and then answer it myself, I'm more than happy to, but I'm just not uploading my information in a zip format.
------------
Reference
You should be OK to skip the steps mentioned, as I believe that this code will work anywhere:
{
"type": "object",
"properties": {
"AllowContentTypes": {
"type": "boolean"
},
"BaseTemplate": {
"type": "integer"
},
"BaseType": {
"type": "integer"
},
"ContentTypesEnabled": {
"type": "boolean"
},
"CrawlNonDefaultViews": {
"type": "boolean"
},
"Created": {
"type": "string"
},
"CurrentChangeToken": {
"type": "object",
"properties": {
"StringValue": {
"type": "string"
}
}
},
"DefaultContentApprovalWorkflowId": {
"type": "string"
},
"DefaultItemOpenUseListSetting": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Direction": {
"type": "string"
},
"DisableGridEditing": {
"type": "boolean"
},
"DraftVersionVisibility": {
"type": "integer"
},
"EnableAttachments": {
"type": "boolean"
},
"EnableFolderCreation": {
"type": "boolean"
},
"EnableMinorVersions": {
"type": "boolean"
},
"EnableModeration": {
"type": "boolean"
},
"EnableRequestSignOff": {
"type": "boolean"
},
"EnableVersioning": {
"type": "boolean"
},
"EntityTypeName": {
"type": "string"
},
"ExemptFromBlockDownloadOfNonViewableFiles": {
"type": "boolean"
},
"FileSavePostProcessingEnabled": {
"type": "boolean"
},
"ForceCheckout": {
"type": "boolean"
},
"HasExternalDataSource": {
"type": "boolean"
},
"Hidden": {
"type": "boolean"
},
"Id": {
"type": "string"
},
"ImagePath": {
"type": "object",
"properties": {
"DecodedUrl": {
"type": "string"
}
}
},
"ImageUrl": {
"type": "string"
},
"IrmEnabled": {
"type": "boolean"
},
"IrmExpire": {
"type": "boolean"
},
"IrmReject": {
"type": "boolean"
},
"IsApplicationList": {
"type": "boolean"
},
"IsCatalog": {
"type": "boolean"
},
"IsPrivate": {
"type": "boolean"
},
"ItemCount": {
"type": "integer"
},
"LastItemDeletedDate": {
"type": "string"
},
"LastItemModifiedDate": {
"type": "string"
},
"LastItemUserModifiedDate": {
"type": "string"
},
"ListExperienceOptions": {
"type": "integer"
},
"ListItemEntityTypeFullName": {
"type": "string"
},
"MajorVersionLimit": {
"type": "integer"
},
"MajorWithMinorVersionsLimit": {
"type": "integer"
},
"MultipleDataList": {
"type": "boolean"
},
"NoCrawl": {
"type": "boolean"
},
"ParentWebPath": {
"type": "object",
"properties": {
"DecodedUrl": {
"type": "string"
}
}
},
"ParentWebUrl": {
"type": "string"
},
"ParserDisabled": {
"type": "boolean"
},
"ServerTemplateCanCreateFolders": {
"type": "boolean"
},
"TemplateFeatureId": {
"type": "string"
},
"Title": {
"type": "string"
}
}
}
Tags (because this text input can sometimes ruin stuff):
SharePoint, SharePoint List, SharePoint Lists, List, Lists, URL, List URL