Share via


fileName Element

Specifies the file name or an expression that returns a file name when the form is submitted using the davAdapter.

Type

  xsd:complexType

Parent Elements

Element Description
davAdapter The parent element that contains all the information necessary to submit files to a server that is running Microsoft Windows SharePoint Services or a Web based Distributed Authoring and Versioning (WebDAV) server.

Child Elements

None.

Attributes

Attribute Type Required Description Possible Values
value
  xsd:string
Yes Contains the name of the file, once submitted to the server. string
  xsd:string
valueType
  xsf:xdExpressionLiteral
No Specifies whether the name of the file should be interpreted as an XPath expression or as a literal string.
  • expression
  • literal
  xsf:xdExpressionLiteral

Definition

  <xsd:element name="fileName" >
  <xsd:complexType>
    <xsd:attribute name="value" type="xsd:string" use="required"></xsd:attribute>
    <xsd:attribute name="valueType" type="xsf:xdExpressionLiteral" use="optional"></xsd:attribute>
  </xsd:complexType>
</xsd:element>

Remarks

The extension ".xml" is appended to the file name if a file name extension is not specified.

The following system reserved characters will be replaced by an underscore ("_") character when a form is submitted:

\ / : * ? " < > |

Example

The following is an example of the fileName element:

  <xsf:fileName value="my:myFields/my:fileName" valueType="expression"/>