attributeData Element
TOC
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

attributeData Element

Office 2007

Specifies the name, and associated value, of an attribute that will be inserted, or modified if it already exists, by the insert action of the xCollection or xOptional editing components.

Type

xsd:complexType

Structure

NameDescription
attribute(Required attribute) Specifies the name of the attribute to be inserted.
value(Required attribute) Specifies the value of the attribute to be inserted.

Remarks

The attributeData element is an optional element of the chooseFragment element.

Note   If this element or attribute is in the form definition file (.xsf), InfoPath Forms Services will prevent the form template from being deployed to the server as a browser-compatible form.

Example

The following is an example of the attributeData element:

<xsf:editWith component="xOptional">
   <xsf:fragmentToInsert>
      <xsf:chooseFragment parent="report">
         <xsf:attributeData attribute="author" value="author name"/>
      </xsf:chooseFragment>
   </xsf:fragmentToInsert>
</xsf:editWith>


Show:
© 2016 Microsoft