Official Content

Indicates if the content of a multimedia or Blob attribute will be downloaded to the device when synchronizing an Offline Database.

Values

False
True

Scope

Generators: Android, Apple
Level: Attribute

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

Runtime/Design time

This property applies only at design-time.

How to apply changes

To apply the corresponding changes when the property value is configured, Build the Main Object.

Compatibility

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

See Also

Offline Native Mobile Applications
External Storage for Multimedia

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