href Attribute (taskpane Element)

Microsoft Office InfoPath

Show All Show All

href Attribute (taskpane Element)

Specifies the relative or absolute Uniform Resource Locator (URL) to an .html file.

Type

      xsd:string
    

Remarks

The href attribute is a required attribute of the taskpane element.

The .html file is loaded into an instance of the task pane when a form is opened. The .html file can include business logic scripting code and can access appropriate Microsoft Office InfoPath 2003 object model members.

Example

The following is an example of the href attribute as it is used in the taskpane element:

    <xsf:xDocumentClass>
   ...
   <xsf:taskpane
      caption="My Custom Task Pane"
      href="MyCustomTaskPane.htm"/>
   ...
</xsf:xDocumentClass>