.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

How can I edit the link to the document in a Approval Task email?

Posted By:      Posted Date: September 21, 2010    Points: 0   Category :SharePoint

With the 2010 out of the box Approval workflow, the emails and tasks work just great, however, when a user receives the email, the instructions look like this:


To complete this task:
2. Perform the specific activities required for this task.
3. Use the Open this task button to mark the task as completed. (If you cannot update this task, you might not have access to it.)


Currently, we are using a friendly url for our users, in order to access their SharePoint site.  The <LINKED DOCUMENT> when clicked on, gives them an error and doesn't take them to the actual document in the SharePoint site, because of the fact that we are using a different url name for the site.

If there any way I can edit this auto-generated email so that the links will always be to the friendly url of our SharePoint site with each document?


Thanks in advance!

View Complete Post

More Related Resource Links

EMail Link to task edit form



I have set up a work flow that creates approval tasks. I want the edit link sent to approvers in a email. What field i should use to get that ?




Trying to generate dynamic link to a document within approval workflow email message


In the out of the box approval workflow, the fields below are used to dynamically create a link within the email for a user to access the item/document to be reviewed:


Review [%TaskProcess:Item Title%].[%Variable: InternetLink%]

If I create an approval workflow and modify the text around what comes out of the box, the link works.  If I add those exact fields (period and space included) via the "Add or Change Lookup" box (field selector), it doesn't work. It displays the title as a link but without a document extension of XML (for Infopath form for instance).


I don't want to have to delete my workflow and recreate it just to get that link to work.

Any ideas on why the "[%TaskProcess:Item Title%].[%Variable: InternetLink%]" only works when it is created out of the box versus building the string manually ?

SharePoint 2010 Approval Workflow email is not showing link to Workflow Task list



I have created an out of box Approval workflow in SharePoint 2010. I am receiving email with below information

Task assigned by Chinna Malipedu on 10/7/2010.

Due by 1/1/0001

Approval started by Chinna Malipedu on 10/7/2010 11:43 AM
Comment: Approve



To complete this task:
1. Review SharePoint2010.
2. Perform the specific activities required for this task.
3. Use the Open this task button to mark the task as completed. (If you cannot update this task, you might not have access to it.)

But I need to go to Workflow Task List by clicking 3 item "Use the Open this Task" , this is not a link here

or I want like "Edit this task to mark the task as completed."  Edit this task should link to Task List

How to do this? do i missing any configuration?

I have successfully done the same  in MOSS 2007.                                                               Is there  any extra&n

OOTB Approval Workflow SharePoint 2010 - Blank "Requested By" field appears in Task Item edit/view f



I am having a simple OOTB  approval worflow associated to the simple document library. Task is created when an document is uploaded to the library.  When I click the task item in task list, I see a blank field "Requested By"  right below the "Status" column and I am unable to understand from where this field is coming and how to populate this field. Any help would be great...

Sharepoint 2010 Approval Workflow "Open this task" link not functioning


When I am clicking on "Open this task" link in outlook 2010 i am getting error as "Access to the floowing form required". Please help me out to resolve the issue..






Providing a link in an email to a document in another document library



I am developing a custom workflow using Sharepoint Designer 2007 in which workflow has to send a notification email with a link to a document which is in another document library. For eg: Doc A in Library A ( to which workflow is attached) sending an email with a link to Doc B in Library B.(Doc B is a document having specific information about Doc A.)  Can this be done? When i tried, i am getting HTTP 404 error. Workflow is initiated manually. I am having site collection Admin rights. Has anyone done this? Any help appreciated. Thanks in Advance.

Designer Workflow email and Task Edit URL



I have a custom SharePoint Designer workflow. Once this email gets trigger, it sends a standard task email with link to edit task list to approve/reject the current item. But this standard email does not have enough information, so I want to send a custom email with link to task edit form.

The standard task email will have link which will look similar to this:

The URL will look similar to: http://webserver/_layouts/WrkTaskIP.aspx?List=b0320c4f%2Df791%2D4a9c%2D9b6f%2D3f1eef448fe5&ID=1000

In my custom task email, how do I get the ID value(the last parameter) to form the task edit link?

Thanks in advance.





Creating an Email Alerts to Task Assigned user to edit the task from Email


When we use the out of the box wf in sharepoint lets say Document approval then it sends an email to the assigned user where user can edit the task with in email, they don't have to come back to Sharepoint to edit the task.

I am looking for a way so that i can send email to the user with the controls in the custom task forms. So that they can just Complete the task from email. they dont have to come back to sharepoint task list to edit and complete the task.

Is there any workaround for this.


Link to 'new' document in email



We are running Windows SharePoint Services 3.0. We recently have a requirement to automatically assign a task to an individual which includes a link to a document which needs to be completed.

The document needs to be completed and saved to library which in turn should start another workflow and alert another user that the document has been completed.

I am aware of the fact that the above can be achieved with simple workflows however I am struggling with the inclusion of a link to the new document.

As we are using WSS we cannot use InfoPath so I am trying to do this using Word? It would be great if I could include a link similar to the 'New' button in a document library.

Does anyone have any suggestions on how to solve the above application? Any suggestions would be greatly appreciated.


Embed "Edit This Task" button in custom email



We have a approver wf in SPD 2007 on document library.

When task is created we are sending a custom email to "Assigned To" person.

Now as this is custom email, hor to add "Edit This Task" button at top of email.

Is there any way of doing it.

Please suggest.

Dare to promise

Creating a custom column with a link to document (other than the name field) in document library



I have a document library with the standard name column linking to the document. However, we'd like to create a custom field and have that link to the document (and edit item menu).

How is this best accomplished?

Thanks in advance!


Unable to Edit the properties of a document using the ribbon


I have created a new web part page and added a document library to that page.  In the ribbon the "Edit Properties" icon is enabled and I can edit the document properties.

When I add another web part to the page and go back to select a document, on the ribbon the "Edit Properties" icon is no disabled.  I can still edit the document using the context menu of the document.

Permissions on the library did not change when I added the additional web part.  The only change to the page was adding an additional web part.

Trying to get to a page via an email link. Could the sitemap be stopping this?


I had this working.  I would email a link to a page (i.e. Work.aspx), and using the code below, the user would be routed to the login page and then sent  to Work.aspx after logging in.

But since I added a site map this isn't working.  I always go directly to my home page.  If I set Work.aspx as my start page in VS it works, but not if I click a link in the email.

Any thoughts?

 protected void Page_Load(object sender, EventArgs e)


        if (!Page.User.Identity.IsAuthenticated)

            Response.Redirect("~/Login.aspx" + "?ReturnUrl=~/Work.aspx");


    protected void Page_Load(object sender, EventArgs e)
        if (!Page.User.Identity.IsAuthenticated)

Can i Map to external link from document library folder



Is There any one know how to link document library folder is to external site 



How do I get the Name link to go to document properties instead of the doc itself?

Hello.  I need to link my documents/photos/etc to their properties page (DispForm.aspx), not directly to the item itself.  How do I change my code to do this?  I have SharePoint Designer, but I'm no big expert.  I have looked through all the different column names and types and cannot find one that does this.  Thanks.  Oh, I'm on WSS 3.0.

Email task is not accepting the value from TO line

Hi. I'm trying to send an email to the TO: address in the following format "[Fax:blablalba@blablalba]" Send mail task tells me that the input string is in the incorrect format for email. How to skip this and send it out anyway? We have an Exchange server configured, which will send that type of email to the fax gateway. Thanks heaps, Kaarel.

Task assignment to user without read access in 2007 results in no email to assignee, no warning to a

It appears (from observation and searching) that SP 2007 will not send a task assignment email when the assignee does not have read access for the assigned task and there is no warning when assigning a task to someone who will be unable to read it. I have not been able to find any mentions of attempting to address this quirk by either an item event listener or a workflow that would either prevent the assignment or task the originating user to fix the issue by either changing the assignment or having them added to the appropriate group.  I could see one done badly causing a cascade of tasks. The approaches that I've thought about are: Attempt to block assignment by hooking ItemAdding and ItemUpdating on the task content type.  In ItemUpdating, you could use SPListItem.DoesUserHavePermissions since the SPListItem should be there, but you'd may have check the list since I don't think SPListItem is available at that time.  I could see this causing problems when the assignment is via workflow or something that doesn't like other code interfering with its task creation. Hooking ItemAdded and ItemUpdated to assign a new task to the assigning user to either change the assignment or have the assignee added to the users with access to the site. Define a workflow which could be enabled for a list that would check if any new or modified task is assigned to users with
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend