Creating a new infopath form from a custom sharepoint webpart

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Richard Wilson (rwilson_at_rvc.ac.uk)
Date: 10/22/04


Date: 22 Oct 2004 07:34:17 -0700

I have a custom web part.

When clicked it creates a new XML file based on the infopath
template.xml populates it with data from several sources and then
saves it to the relevent document library.
(the Infopath forms were in an extracted state on the server)

However once the form is opened by a user it contains calls to a web
service, so to stop the annoying security messages I need to sign the
form.
This can only be done with a non extracted file so my question is:

Does anybody know how to open a XSN from code and populate it, and
save it back without any user interaction from code?

Richard.



Relevant Pages

  • Re: project xml schema advice
    ... for storing your prince2 data. ... The xml file needs to be ... "Jason Bailey" wrote in message ... > I'm after some general advice about infopath and project. ...
    (microsoft.public.project)
  • Re: Saving a "New Item" into two lists
    ... need to do is either create a custom web part that is basically a form, ... when saved you programmatically save the data to the 2 lists. ... Option 2 would be to use Infopath to customize the form and use the web ... and through capturing events fire off code to programmatically save the ...
    (microsoft.public.sharepoint.portalserver)
  • project xml schema advice
    ... I originally posted this on infopath group but think I should have posted here. ... I've tried basing an infopath form on a project xml file. ... at the tags in it's schema; which means I've either got to get some ... project's elements/tags as secondary data sources to this new form; ...
    (microsoft.public.project)
  • Re: Convert binary64 into "avi"
    ... > the XML file generated by InfoPath and then convert it into another ... > the a video in "avi" format and submit it to a Web Service. ... > generated and the video "avi" is converted well to binary64. ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: Where does my infopath files get submitted?
    ... This tells InfoPath to submit the contents of a completed InfoPath form as ... XML over SOAP/HTTP to your orchestration which is exposed as a web service. ... from within InfoPath instead of submitting to save the ... XML file to disk OR you can use business logic within your orchestration to ...
    (microsoft.public.biztalk.general)