Sharepoint - how to send a link to the edit view of a list item from a workflow

Use Sharepoint Designer:

In the body of the form "send an e-mail", find 'edit hyperlink' button in the upper right corner of the message.

for field address, click lookup for string or 'fx'

in Data Source, select “Workflow Context”. for field from source, select "Current Item URL".

Now Save, publish and test.


Yes, you'd just need to craft a hyperlink to the edit form in the email body.

<a href="http://your.domain.com/sites/sitecollection/Lists/Tasks/EditForm.aspx?ID=[Add current item id here]">Edit item</a>.

Use the SPD interface to add in a workflow variable for the current item ID or task ID in the URL above where the [] are.


The following solution worked for me:

  1. In the body of the WorkFlow email, position yourself where you want the link to go
  2. Then click on the Edit Hyperlink button in the top right of the window
  3. In the address, paste in the URL to your EditForm for example: https://domain.sharepoint.com/Lists/mylistname/EditForm.aspx?ID=
  4. Then select the string builder button (...) to open the string builder window.
  5. In the string builder window position your cursor at the end of the line (just after ID=) then press the "Add or Change Lookup" button.
  6. Select Data Source = "Current Item" and Field from source = "ID"

Then ok that and save and publish.

Tags:

Email

Workflow