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>

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp