locked
Link to previus version RRS feed

  • Question

  • Hi! 

    Im building my own apporval worfklow in with Sharepoint workflow 2013.

    In the mail that goes to the approver i want to ha hav a link to the current document, but i would also like to have a link to the previus major version of the current document.

    I work with both major and minor versions.

    Does anyone have a idea how to solw this?

    Thursday, May 2, 2013 9:10 AM

All replies

  • Can you try with this?

    SPListItem.Versions[oItem.Versions.Count - 1].Url


    Regards,
    SC Vinod
    Blog
    : http://sharesilver.wordpress.com/

    Thursday, May 2, 2013 11:22 AM
  • Hi SC Vinod!

    Does that work in Sharepoint Designer?

    Thursday, May 2, 2013 11:29 AM
  • Ah, no. This is a C# code.

    Regards,
    SC Vinod
    Blog
    : http://sharesilver.wordpress.com/

    Thursday, May 2, 2013 11:44 AM