May 2004 - Posts
Background on URNs InfoPath SP1 included changes to the mail deployment model to allow for easier ways to distribute form templates to a group. One of the tools for making this deployment model work is the URN (Uniform Resource Name). These URNs are generated
Read More...
2D vs. Flow One of the first things that experienced form designers will notice when using InfoPath is that layout of controls is not on a 2D design surface – it’s what we call “flow-based”. Controls function like images –
Read More...
The Microsoft Knowledge Base is an amazing source of content and "How To" type articles, not just a place to go when you think you're seeing a bug. Here's one such "How To" article - how to put an image on a Button control: http://support.microsoft.com/default.aspx?scid=kb;en-us;832511
Read More...
In the InfoPath 2003 Service Pack 1 Preview you can create a fully trusted form template by signing the XSN with a code signing certificate. Here’s what you do: While in the InfoPath designer, select Tools | Form Options | Security Uncheck the “ Automatically
Read More...
Part 5 of 5: The final function And the final function is function FixupSolutionXSN( inputDirectory, xsnInputName, outputDirectory, xsnOutputName, serviceURL, wsdlURL) { var XsnInputPath = Combine(inputDirectory, xsnInputName); var XsfInputPath = Combine(inputDirectory,
Read More...
Part 4 of 5: Repacking the XSN For packing algorithm we will use another useful utility from the Cabinet SDK which called “makecab.exe”. It can be found in the same place where extract.exe lives. This utility needs some data description file that we will
Read More...
Part 3 of 5: Modifying the XSF Because manifest.xsf file is just a plain xml file, the easiest way to modify it is to open it in an XML DOM, find the corresponding attributes with XPath, and replace their existing values with new data. We will divide
Read More...
Part 2 of 5: Unpacking the XSN To unpack XSN one should use extract.exe utility. It can be found in the %SystemRoot%\system32 directory or in the Microsoft Cabinet Software Development Kit . For the command usage details just run “extract /?”. In this
Read More...
In this five part series we’ll show the reader how to programmatically manipulate InfoPath form templates. Part 1 of 5: The story There are many scenarios where you might need to modify an InfoPath form template (.XSN) after it’s already in use. Let’s
Read More...
For anyone who has developed an InfoPath form template against a schema, database, or Web service that has changed since the form template was initially created, the following should be some good news. The SP1 Preview Release of InfoPath contains the
Read More...
A few customers have run into an unspecified error when attempting to add service pack features to an RTM form template when using the InfoPath SP1 Preview Release design mode. For anyone who has created a form template outside of InfoPath or added/changed
Read More...
When printing forms, sometimes it might be desired to have more control over where Page Breaks should occur. For example, you might want a Repeating Table to start printing on a new page once it has reached a certain number of rows or you might wish to
Read More...