I have some methods using CSOM that are being called form an external program. In one of these methods I check if a document set exists on a certain location, and if it does I want to return the url to the document set homepage for that document set.
I've manage to get the url down to this structure to get a working url:
With querying several properties of the web etc, I could dynamically get the contenttypename, url etc.
I'm just wondering if there's no easier path to get an url to the document set.
Also I would a suggestion to get rid of the DocumentSetName in the url to open the page. If it would work with only providing an id, that would be great.