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,
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.
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.
The following solution worked for me:
- In the body of the WorkFlow email, position yourself where you want the link to go
- Then click on the
Edit Hyperlinkbutton in the top right of the window
- In the address, paste in the URL to your
- Then select the string builder button (...) to open the string builder window.
- 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.
Data Source = "Current Item"and Field from
source = "ID"
Then ok that and save and publish.
I have just found a rather simple, yet brilliant, solution here
Basically, in the hyperlink editor add the following:
[%Current Item:Encoded Absolute URL%]/../EditForm.aspx?ID=[%Current Item:ID%]
The best I have found to get the URL is by using a combination of InfoPath formula and workflow variables
Create a custom InfoPath form. In the form, add a field call "ItemURL"
Using an InfoPath rules, set the value of the field to formula: SharePointListURL()
In SharePoint Designer, create a new workflow and add a workflow variable wfURL
Set the variable to field [ItemURL]
Set [ItemURL] = [Variable: wfURL]Item/editifs.aspx?ID=[Current Item: ID]
In the workflow, set the hyperlink to [Current Item: ItemURL]
The end result will a field containing the url to the edit form "http://YourSiteCollection/YourSubSite/Lists/Item/editifs.aspx?ID=[ItemID]
Works a charm, and it basically dynamic because if the list is moved, or the site collection is changed, the URL changes with it.
Following solution worked for me.
First create a variable called URL-Item in SharePoint Designer. That variable should hold:
a) link to your sharePoint list Instead of this format:
use this one
b) and next to it (in the same row)
Current Item: ID
I recently implemented the solution to redirect to the edit form from the display form as presented by Andrew here: Include link to task in task notification email body
Works for both SP10 and SP13 Workflow tasks and solves the relative vs absolute linking problem as well.
In SharePoint 2013 is possible to use this link path:
https://your.site.com/sites/sub/subsub/Lists/YourListName/EditForm.aspx?ID=[%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.