locked
When user submits info path form an email should be sent with the browser based form link instead of showing all entries RRS feed

  • Question

  • How can i show a browser based form link in the email when user submits the form.I want the user to click on the link which will redirect to browser based form library so that a user can open the form and approve or reject from browser based library.

    Wednesday, April 2, 2014 10:45 AM

Answers

  • Hi,

    Adding “DefaultItemOpen=1” at the end of the form url tells a form to open in a browser. To generate a link to the form in your workflow email, follow these instructions:

    1. In the body of the email message, type:

    <a href=”http://yoursiteaddress?xmlLocation=

    2. Click 'Add or change lookup'

    3. Select 'Server Relative URL' from the drop down list (field from source)

    4. Finish of by typing:

    &DefaultItemOpen=1”></a>

    The end product will look something like this:

    <a href=”http://yoursiteaddress?xmlLocation=[%Current Item:Server Relative URL %]&DefaultItemOpen=1”></a>

    I usually create workflow variables for these links so I can reuse them in other workflow email messages ('Extract Substring from Index of String' action).

    Cheers

    Matt

    Tuesday, April 15, 2014 1:51 PM