publishUrl Attribute

Microsoft Office InfoPath

Show All Show All

publishUrl Attribute

Identifies where the form was published and where the form template should download updates from.

Type

      xsd:string
    

Remarks

The publishUrl attribute is an optional attribute of the xDocumentClass element.

The publishUrl attribute is set automatically when a form is published or deployed through the InfoPath design mode. When a form is opened, it will attempt to retrieve the latest updates from the published location.

Example

The following is an example of the publishUrl attribute as it is used in the xDocumentClass element:

    <xsf:xDocumentClass
   xmlns:xsf="http://schemas.microsoft.com/office/infopath/2003/solutionDefinition"
   name="urn:microsoft-com:myTravelReport"
   author="AuthorName"
   description="Travel Report form for entering travel reports, issues, expenses, etc."
   dataFormSolution="yes"
   solutionVersion = "1.0.0.1"
   productVersion="11.0.5106"
   solutionFormatVersion="0.9.0.0"
   publishUrl="http://MyServer/InfoPathTemplates/MyTemplate.xsn">
   ...
</xsf:xDocumentClass>