SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

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

Is it possible to go to the edit view of an sharepoint 2010 list item directly from email? I have a workflow that sends an email to a user to edit a list item. The link -at this time- takes them to the list. I would like for the link to take them to the edit view of that item. thanks,

share|improve this question
up vote 12 down vote accepted

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

<a href="[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.

share|improve this answer

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.

share|improve this answer
Nice find! I didn't know about "Workflow Context"->"Current Item URL". Way beter than creating the url by hand (as PirateEric suggest). – Dribbel Dec 19 '12 at 9:58
Unfortunately it doesn't answer the question, which is to link to the edit form. – Christophe Dec 12 '13 at 22:01
Ricardo Work Context : Current Item URL didn't work for me. It creates a hyperlink value of "list/listname/12.000" Instead of a URL. Am I missing something? – Angela French Jun 19 '14 at 21:24
Worked for me in SP 2013. Thanks. – crclayton Dec 2 '15 at 19:54

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:
  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.

share|improve this answer

you just set property in CreatTask

enter image description here

than after you can access listitemid like below

 int i = InvoiceApproverTask.TaskItemId;

string EditItemURL = workflowProperties.Web.Url.ToString() + "/" + workflowProperties.TaskList.RootFolder.Url + "/" + "EditForm.aspx?ID="+i;

Hops its helps someone..

share|improve this answer

In SharePoint 2013 is possible to use this link path:[%Curent Item: ID%]&Source=https%3A%2F%2Fyour%2Esite%2Ecom%2Fsites%2Fsub%2Fsubsub%2FLists%2FYourListName%2FAllItems%2Easpx&ContentTypeId=[%Curent Item: Content Type ID%]

Modify to your path and the "AllItems" should be the name of your view. In my case, it worked fine.

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.