Skip to main content

I have a WF where anytime a document is modified within a Document Set I trigger an email that the document was modified.  However, I can not figure out how to build the URL that will send them to the Document folder.  Not the the view that lists all the Document Sets, but the view beneath the document set that is 1 beneath the Document Set.

Note this is for a Site Workflow.  Also I seem unable to retrieve the Document name.  The Name that reflects in the email reflect the name of the Document Set not the Document.

Is this document set created used content types. You can have workflows on content types, instead using site workflows, use list workflows, it will be easy to get the document name.


Hi..you could manipulate a bit current item url to retrieve your document set URL..

in fact, if the document is located at https://sitecollection/library/docsetname/file.docx, if you try to go to https://sitecollection/library/docsetname then SharePoint will redirect you to the document set welcome page, so what you have to do is simply remove the filename from current file url in order to get your link happy.png

Giacomo


I am using a site workflow since we are giving the user 3 days to make certain changes to the document. Thus I am using a Site WF to send out a summary email of delinquent document updates, but I am struggling with how to retrieve the document name (currently the name of the document set gets retrieved) and how to extract the URL for the Documnet Set and the URL for the Document folder 1 level down where the documents are stored.

Lastly I am using content types for the document set and document.  Not sure if I can leverage that or not towards my solution. 


Reply