File Editor¶
FileEditor opens the file referenced by the form data in the configured file viewer or editor. It is intended for an existing file reference: it does not provide file selection or upload commands. Use File when users must upload, choose, or replace a file.
XML Fields¶
XPathidentifies the form-data element containing the file identifier. The widget reads this value; it does not write a replacement identifier.- A
Revisionattribute on the bound element, when present, identifies the revision opened by the file service. When it is absent, the file identifier is used as the revision identifier. Hintsis retained in the XML definition, but the current FileEditor client does not render it.Rulescontains the formatting or validation rules that apply to the widget.
FileEditor does not have NameXPath, upload data sources, AllowEdit, SetEditingRevision, or RequiredForGroup settings. Availability of an editor and the permissions it receives are determined by the file service and current form access.
Example¶
1 2 3 4 | |