!--a11y-->
FileUpload API 
You can use the FileUpload UI element to upload files from the client to the server. The UI element appears with an input field, in which the directory path and the file name appear, and a button for searching for the file.
· data
This property is deprecated, use resource instead.
· fileName
This property is deprecated, the file name is determined by the resource property.
· resource
Specifies the
data source and contains the data, the file name, and the MIME type.
For more information on data binding of this property, see Data Binding of the
Property resource for FileDownload and FileUpload
· textDirection
Specifies the text direction and allows you to use FileUpload UI elements for texts in languages which require a specific text direction. The textDirection property can be filled with the following values and is represented by the enumeration type WDTextDirection.
The text direction is inherited from the parent element. Therefore, the text direction is identical to the one of the parent element. |
|
The default value for this property is inherit.
· width
Determines the width of the FileUpload UI element that you can specify in CSS sizes, such as em, ex, pixels or percentage values.
Name |
Interface |
Type |
Initial Value |
Bindable |
Value Required |
data |
IWDFileUpload |
Object |
|
bindable_mandatory |
No |
enabled |
IWDUIElement |
boolean |
true |
bindable |
No |
fileName |
IWDFileUpload |
String |
|
bindable |
No |
resource |
IWDFileUpload |
IWDResource |
|
bindable_mandatory |
Yes |
textDirection |
IWDFileUpload |
WDTextDirection |
inherit |
bindable |
No |
tooltip |
IWDUIElement |
String (TranslatableText) |
|
bindable |
No |
visible |
IWDUIElement |
WDVisibility |
visible |
bindable |
No |
width |
IWDFileUpload |
String |
|
bindable |
No |