Share via


share Element

Specifies the settings that were last used to publish this form template to a network share.

Usage

  
<share
	formName="xsd:string"
	path="xsd:string"
	accessPath="xsd:string"
/>

Element Information

Element type xsd:complexType
Namespace xsf2

Elements and Attributes

Parent Elements

Element Description
solutionPropertiesExtension Specifies the extended information for the solutionProperties element in the manifest.xsf whose name attribute matches the ref attribute of this element.

Child Elements

None.

Attributes

Attribute Type Required Description Possible Values
formName xsd:string Required Specifies the name that was last used to publish the form template.

Note   If this element or attribute is in the form definition file (.xsf), InfoPath Forms Services will ignore this setting when the form template is deployed to the server as a browser-compatible form.
String
path xsd:string Required Specifies the path and file name that was last used to publish the form template.

Note   If this element or attribute is in the form definition file (.xsf), InfoPath Forms Services will ignore this setting when the form template is deployed to the server as a browser-compatible form.
String
accessPath xsd:string Required Specifies the location from which the form template will be accessed by users of the form template, which is also used to create the publishUrl of the form template.

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

Definition

  
<xsd:element name="share">
   <xsd:complexType>
      <xsd:sequence />
      <xsd:attribute name="formName" type="xsd:string" use="required" />
      <xsd:attribute name="path" type="xsd:string" use="required" />
      <xsd:attribute name="accessPath" type="xsd:string" use="required" />
      <xsd:anyAttribute processContents="skip" />
   </xsd:complexType>
</xsd:element>

Remarks

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