- Let them enter the URL of a document library in their site collection(s) in a field
- Get the ListID of that library
- Generate a link to (<‘SPOL_SITE_URL’>/_layouts/15/ManageCheckedOutFiles.aspx?List=<‘LISTID’>), where SPOL Site URL is extracted from the List url in 1.
- Attach the link from 4 to a button captioned “Manage Files Never Checked In” if the ID is known, not how to find the id of the list based on a url.
If you can make 2 a function that takes the URL as a parameter, and returns the ListID that would be great as I can then reuse it in other code. So far all my searches I’ve tried have returned the opposite of getting List URLs when the ID is know, or getting items in the list based on their ID.
Thanks in advance