locked
Infopath different behaviour on save and submit buttons RRS feed

  • Question

  • Hello all,

    We are dealing with the following issue:

    In infopath 2007 we are able to save the data and see the saved data after publishing the form. However we are not able to retrive the data from the workflow associated with the form/library once it is submnitted.

    Please help.

    Regards,

     

    Thursday, October 13, 2011 2:17 PM

Answers

  • Hi avaInfo,

    If the workflow is SharePoint Designer workflow, to retrieve form data, we need to promote the fields, that is, make them available as columns of the form library.

    If the workflow is Visual Studio workflow, to access the InfoPath form, you can try to use File property of the item that the workflow is running on, once you have an SPFile object, you can retrieve the binary data associated with the object.

    Here is an article about Retrieve an InfoPath field in a SharePoint workflow, you can refer to it for more information:
    http://www.bizsupportonline.net/blog/2009/02/how-to-retrieve-infopath-form-data-sharepoint-workflow/

    If it isn’t the issue, please feel free to let me know.

    Thanks,
    Qiao

    Monday, October 17, 2011 2:30 AM
    Moderator