SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have created a document library in which I am now developing the workflow. I have it setup so my workflow will send emails based on certain conditions. In those emails I want to have a link back to the new document, but I cannot figure out how to do it. I have used the Absolute Encoded URL, but it takes me back to the form in the Inforpath view. I want to view it web-based from SharePoint. I am thinking I have to do something with the fields under Current Item, but cannot figure it out.

Does Anyone have a solution?

share|improve this question

Your wanting your document to open up in the browser via Office Web Apps?

If so, try opening the document in browser and grabbing that URL. You can then remove the documentID and populate that via a workflow variable.

share|improve this answer
please tell us how to do that. I can grab the server relative URL, but need to buld a url that uses the external address of the document. – Daniel Williams Aug 18 '11 at 15:46

Here is a link for Workflow Email to the SharePoint 2013 Form Library Form item.

[%Workflow Context:Current Site URL%]/_layouts/15/FormServer.aspx?XmlLocation=[%Workflow Context:Current Site URL%]NameOfYourLibrary/[%Current Item:Name%]&ClientInstalled=true&DefaultItemOpen=1

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.