How to include InfoPath based task link in email message

Expand / Collapse
 
     

How to include InfoPath based task link in email message


The information in this article applies to:

  • AgilePoint Suite
  • AgilePoint Enterprise Manager
  • AgilePoint Envision
  • AgilePoint Developer
  • AgilePoint Server

GOAL(S)
 To include an InfoPath based task link in an email message so that a task participant can open the InfoPath form directly from the email message rather than having to open the form from their SharePoint task list.
  
SUMMARY
 Built-in macros/custom attributes and URL parameters can be used to construct the email message with the task link.
  
SOLUTION
 

The following URL format may be included in an email message. Clicking this URL will cause the InfoPath form associated with the given task ID to open as if it were opened by clicking on the corresponding link in the user's SharePoint task list:

        URL Path to the SharePoint page that includes the Task List Web Part/?LaunchInfoPath=yes&WID=${TaskID}

For example, if the task list web part is included on the SharePoint Portal home page, you may use:

         ${SPServer}/?LaunchInfoPath=yes&WID=${TaskID}

-OR-

          http://virtual8080/?LaunchInfoPath=yes&WID=${TaskID}

If the task list web part is included on the site's main page, you may use:

        ${SPServer}${SitePath}/?LaunchInfoPath=yes&WID=${TaskID}

The reason this URL format works is because the Task List Web Part specifically looks for URL parameters called "LaunchInfoPath" and "WID" (meaning WorkItemID). When it finds these URL parameters, it automatically launches the InfoPath form associated with the task ID in the same way that is done when the user clicks on the link in the task list.

  
Last Reviewed: 
Keywords: 

Add Your Comments


Name: *
Email Address:
Web Address:
Verification Code:
*
 

Details
Last Modified:Wednesday, September 28, 2011
Last Modified By: MichaelDa
Type: HOWTO
Rated 1 star based on 1 vote.
Article has been viewed 5,945 times.
Options