A read-only property that returns a string containing the Uniform Resource Locator (URL) of the cache folder that contains a Microsoft Office InfoPath 2003 form's extracted form files.
expression.PackageURL
expression Required. An expression that returns a reference to a Solution object.
2: Can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.
The PackageURL property is set at run time, and the URL it contains points to the folder where the form template's files are cached.
In the following example, the PackageURL property of the Solution object is used to display the folder's URL in a message box:
XDocument.UI.Alert("PackageURL: " + XDocument.Solution.PackageURL);