Service Studio 6.0 Help
Upload Widget Runtime Properties
When you use a Upload widget in your web screen or web block, to gather information about an uploaded file, the following runtime properties (A property that you only can access at run-time. Runtime properties can be Read/Write or Read only.) are available:
Id: Identifies the widget in the HTML of the web screen or web block.
You can use this runtime property when, for example, developing your JavaScript.
Read only. Text type.
Content: contains the content of the file specified in the widget.
Read / Write. Binary Date type.
This value is cleared every
time the screen is rendered, whether or not the screen is loading.
Type: contains the content-type provided by the browser.
Read / Write. Text type.
This value is cleared every
time the screen is rendered, whether or not the screen is loading.
Filename: name of the file specified in the widget; does not include the path of the file.
Read / Write. Text type.
This value is cleared every
time the screen is rendered, whether or not the screen is loading.
With these runtime properties you can, then, manage the file the way you want; for example, to upload the file or insert its contents in the database.
See Also
About Runtime Properties | About Upload Widget | Upload Widget Properties | Widgets and HTML Tags