none
Update list item from link in workflow email RRS feed

  • Question

  • hello,

    Is there a way to update a list item using a url link in an email received from workflow?

    Want to be able to click on a link in the email that updates a field in the item.

    I thought that using REST services may be an option, but i cannot find documentation that helps.

    Appreciate any ideas.


    Jason Curley

    Thursday, February 23, 2012 4:37 PM

Answers

  • You can use Sharepoint OOB List web service & web method updateitem().

    Here is the link on all web services sharepoint provides OOB:
    http://www.infoq.com/articles/swanson-moss-web-services

    Suggestion to implement the logic:

    1) User recx an email.
    2) Clicks on the link. (Link contains all the required parameters for our web service)
    3)This link takes the user to an app page on which we can have a usercontrol that can read the parameters from the querystring & then take the needed actions to update the item in the sharepoint list.

    Hope this logic makes sense.


    Happy Sharepointing... Regards SPTECH07

    • Marked as answer by Jaykzoo Thursday, February 23, 2012 7:13 PM
    Thursday, February 23, 2012 4:52 PM
  • My Approach:

    Create a Application page using VS 2010 , you have a template when u r creating SP2010 application page. The link (<a href="http:///blahBlah/_layouts/<Solution">http://<Site>/blahBlah/_layouts/<Solution Name>/ActionAppPage.aspx?itemID=2392173921 , which you are planning to have, should have identifier for the item, on which you have to do some action. In this Application page, get the item identifier using Request.QueryString["itemID"], and perform your action on it. At end you, can either show outcome massage or just redirect to home page/anywhere, you want.

    Let me know, if you want more details.


    Ashish Ranjan (Please click "Marked As Answer" if a post solves your problem or "Vote As Helpful" if a post has been useful to you)

    • Marked as answer by Jaykzoo Thursday, February 23, 2012 7:13 PM
    Thursday, February 23, 2012 5:04 PM

All replies

  • You can use Sharepoint OOB List web service & web method updateitem().

    Here is the link on all web services sharepoint provides OOB:
    http://www.infoq.com/articles/swanson-moss-web-services

    Suggestion to implement the logic:

    1) User recx an email.
    2) Clicks on the link. (Link contains all the required parameters for our web service)
    3)This link takes the user to an app page on which we can have a usercontrol that can read the parameters from the querystring & then take the needed actions to update the item in the sharepoint list.

    Hope this logic makes sense.


    Happy Sharepointing... Regards SPTECH07

    • Marked as answer by Jaykzoo Thursday, February 23, 2012 7:13 PM
    Thursday, February 23, 2012 4:52 PM
  • My Approach:

    Create a Application page using VS 2010 , you have a template when u r creating SP2010 application page. The link (<a href="http:///blahBlah/_layouts/<Solution">http://<Site>/blahBlah/_layouts/<Solution Name>/ActionAppPage.aspx?itemID=2392173921 , which you are planning to have, should have identifier for the item, on which you have to do some action. In this Application page, get the item identifier using Request.QueryString["itemID"], and perform your action on it. At end you, can either show outcome massage or just redirect to home page/anywhere, you want.

    Let me know, if you want more details.


    Ashish Ranjan (Please click "Marked As Answer" if a post solves your problem or "Vote As Helpful" if a post has been useful to you)

    • Marked as answer by Jaykzoo Thursday, February 23, 2012 7:13 PM
    Thursday, February 23, 2012 5:04 PM