jeudi 19 mars 2015

SharePoint Designer 2013 Initiation form - How do I display field values from the list item on which the workflow is being run?



I have seen this question asked in the context of SharePoint Designer 2010 workflows, but did not find a viable solution provided.


I would like to throw this question out for SharePoint Designer 2013 in the hopes that there is now a way to do this.


I want to create a Form Load rule for the initiation form (InfoPath 2013) that would go like this:




  • I already created secondary data connection to list on which the workflow is running




  • somehow get item ID from URL that called the workflow. here is a sample workflow URL formatted for ease of reading http://ift.tt/1OaOYRr ?List=%7BE6C2CFF3%2DC74B%2D4E4E%2DB8C6%2DF28CD129B010%7D &ID=12 &TemplateID=4675cef1-5060-4d7c-b228-98d66c6d8e7d &AssociationName=Event Notification




  • query the SharePoint List to get the item with an equal ID




  • populate read only fields on the form with data from that item




sounds so simple ;-)








0 commentaires:

Enregistrer un commentaire