PRIM_WEB.File - Blob Property

File stored as a Blob

Member of PRIM_WEB.File (PRIM_WEB.File)

Data Type - String


The Blob property returns the file as a Blob.
This simplifies the management of the object allowing it to be stored in a field and easily sent to the server.


In this example, when a file is selected, the file name is used and the Blob is 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

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020