Web File Picker - FileSelected Event
Fired when a file is selected
Member of Web File Picker (PRIM_WEB.FilePicker)
Parameters
Name | Type | Data Type | Description |
|---|---|---|---|
File | *Input | Reference to the selected file object | |
Files | *Input | Collection of the selected files |
Details
The FileSelected event is fired when the user chooses a file from the File Picker.
Example
In this example, when a file is selected, the file is returned in the File parameter and used to populate an image control as well as a Blob field.
Evtroutine Handling(#FilePicker.FileSelected) File(#File)
#Filename := #File.Name
#Image.FileName #xDemoblob := #File.Blob
Endroutine