The Solution Object

 <  Day Day Up  >  

The Solution Object

The Solution object corresponds to an InfoPath form template ( .xsn file).

The Solution object allows access to limited information about an InfoPath form template, including the URL location of its extracted form files, its version number, the URL it was loaded from, and the XML DOM for its manifest.xml file.

Solution Object Methods

The Solution object has no methods.

Solution Object Properties

The Solution object has four properties:

  • DOM ” A reference to the XML DOM for the manifest ( .xsf file) of the form template. The DOM property allows the developer to manipulate the manifest. Security level 2.

  • PackageURL ” A reference to a URL where the form template files are locally cached. Security level 2.

  • URI ” A value that is a URL or a URN that specifies the published location of the form template. Security level 2.

  • Version ” Read-only. The version of an InfoPath form template. Security level 2.

The sample form template ShowCache.xsn uses the PackageURL property to display the location of the cached form template files. Notice in Figure 18.3 the difference between the location of the form template, which is displayed in the status bar, and the location of the cached files displayed using the PackageURL property.

Figure 18.3. Displaying the location of form template cache files using the PackageURL property of the Solution object.

graphics/18fig03.gif

 <  Day Day Up  >  


Microsoft Office InfoPath 2003 Kick Start
Microsoft Office InfoPath 2003 Kick Start
ISBN: 067232623X
EAN: 2147483647
Year: 2004
Pages: 206

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net