Specifies the file name extensions of files that can be attached to the form.
xsd:string
| Element | Description | 
|---|---|
| editWith | Specifies an instance of an editing component, and provides the corresponding parameters to determine its exact behavior. | 
<xsd:attribute name="allowedFileTypes" type="xsd:string" use="optional" ></xsd:attribute>The file extensions listed in the allowedFileTypes attribute value are separated by commas.
<xsf:xmlToEdit name="some_name"   item="/my:myFields/my:field1">
 <xsf:editWith allowedFileTypes="doc, xls" component="xFileAttachment"/>
</xsf:xmlToEdit>
 
<menuArea name="msoStructuralEditingContextMenu">
 <button action="xFileAttachment::attach" xmlToEdit="some_name" caption="Attach..." showIf="immediate" />
 <button action="xFileAttachment::open" xmlToEdit="some_name" caption="Open" showIf="immediate" />
 <button action="xFileAttachment::saveAs" xmlToEdit="some_name" caption="Save As..." showIf="immediate" />
 <button action="xFileAttachment::remove" xmlToEdit="some_name" caption="Delete file" showIf="immediate" />
</menuArea>