Writing back to Infopath form from workflow - InfoPath Dev
in

InfoPath Dev

Writing back to Infopath form from workflow

Last post 06-09-2011 01:41 AM by mrsafe. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-01-2011 06:49 AM

    Writing back to Infopath form from workflow

    Hi There,

     I have a workflow that writes back to an infopath by streaming file contents, using the XMLnamespaceManager to change the relevant element inner xml value.This has been working fine up until I moved the form and workflow to SPS2010, Luckily I can debug the workflow, upon inspection I find no error! My guess is something happening here as I have no null vlaues up to this point and these lines save the file back SharePoint.  

    var myOutStream = new MemoryStream();

    myDoc.Save(myOutStream);

    myFile.SaveBinary(myOutStream.ToArray());

    I call this method twice with different values and neither gets written back to the form.

    Is there something I am missing?

    Is there maybe a new approach to doing this in SPS2010?

    Hope you can help.

  • 06-09-2011 01:41 AM In reply to

    Re: Writing back to Infopath form from workflow

    The answer was a broken deffault field value was preventing the writeback, hence no errors. 

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.