Official Content

Sets/Gets the FileURI.

Scope

Level: Attribute, SDT member

Description

This property is available for attributes based on the BlobFile data type as well as for members of Structured Data Types based on the BlobFile data type, too.

Set:
You can set a relative path. It will be resolved within the current host.
You can set a local path by using file:// protocol
When you set the URI property, the internal binary file stored in the DB will be set to empty.

Get:

It always returns the absolute URI to the file.

Runtime/Design time

This property applies only at runtime.

Samples

Procedure:

&Blobfile.FileURI = "http://www.myfiles/file.pdf"

Data Provider:

{
   MyBlobFile
   {
      FileUri = "http://www.myfiles/file.pdf"
   }
}

See Also

BlobFile data type

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant