Web Add-in Extensibility Developer Guide > Toolkit Configuration Schema > Attribute Groups > ImpFuncAttrs Attribute Group

ImpFuncAttrs Attribute Group

Description

Attributes of the function used for implementation.

Attributes

Name Type Use Default Description
file_name string optional   The file system path to the file containing the function. If no path is specified, the default file name defined in the Control\Settings element is used.

You can specify a path relative to the <UFT installation folder>\dat\Extensibility\Web\Toolkits\<Toolkit name> folder.

function string optional   The name of the implementation function.
type string optional javascript The type of implementation function.

Source

<xs:attributeGroup xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ImpFuncAttrs">
    <xs:annotation>
        <xs:documentation>Attributes of the function used for implementation.</xs:documentation>
    </xs:annotation>
    <xs:attribute name="type" use="optional" default="javascript">
        <xs:annotation>
            <xs:documentation>The type of implementation function.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
            <xs:restriction base="xs:string">
                <xs:enumeration value="javascript" />
            </xs:restriction>
        </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="function" type="xs:string" use="optional">
        <xs:annotation>
            <xs:documentation>The name of the implementation function.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="file_name" type="xs:string" use="optional">
        <xs:annotation>
            <xs:documentation>The file system path to the file containing the function. If no file name is specified, the default file name defined in the Control\Settings element is used.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
</xs:attributeGroup>