Download content in Offline applications property

Official Content
This documentation is valid for:
Indicates if the content of a multimedia or Blob attribute will be downloaded to the device when synchronizing an Offline Database.

Values

False
True

Description

When multimedia or Blob attributes exist in an Offline Database, there are two options regarding the storage of their content:

  1. Save the content in the device.
  2. Save a reference (link) to the content in an external source. 

If the property is set to False (default value), only an external reference to the attribute content is stored in the database. This reference is an URL to the external resource (i.e. http://<url>) or a local reference (i.e. file://<local path>) when working with media inserted from the device itself (after synchronizing, this local reference will be changed for an external one).

If the property is set to True, a copy of the attribute content is downloaded and saved in a local directory associated with the Offline Database and a local reference stored in the database table.

Note:

  • The property is available for iOS since GeneXus 16 Upgrade #1
  • The property is available for Android since GeneXus 16 Upgrade #5

Run-time/Design-time

This property applies only at design-time.

How to apply changes

To apply changes made by this property, Build a main object.

Compatibility

In previous versions, all multimedia and blob content not inserted as an external reference was downloaded to the device.

Scope

Objects: Attribute
Platforms: Smart Devices(Android, IOS)

See Also

Smart Devices Offline Applications
External Storage for Multimedia

Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.