Member attributes: StorageOfResources

This attribute controls the storage location of bitmap resource, font resource and svg resource members when generating code for a particular profile member.

Syntax

Blob

BlobIfMulilingual

Code

Discussion

The attribute Storage determines the location where the data belonging to resources should be stored. This attribute can assume one of the following values:

Value

Description

Blob

The data is stored in a separate so-called Blob file. The generated code limits to store references to resources existing in the separate Blob file. The contents of resources are thus not a part of the resulting binary anymore. They can be exchanged restrospectively by simply replacing the Blob file and without needing to recompile the binary.

BlobIfMulilingual

The same as Blob, however the effect is limited to resources which contain multiple language depending values only. Non multilingual resources are not affected resulting in their data being stored directly in generated code.

Code

The data is stored in the generated code. After compiling the generated code, the affected resources are fixed part of the binary and can't be exchanged retrospectively without recompiling the application. Before version 14, this was the unique approach to manage resource data in Embedded Wizard.

TIP

With the attribute StorageOfResources you determine the global mode affecting per default all resources or a set of them. This setting can be overridden for each resource member individually by using its attribute Storage.

Modify the attribute

To inspect or modify the value of a StorageOfResources attribute, select first the affected profile member. Thereupon, the attribute is listed in the middle area of Inspector. Please note the assistant you can activate by clicking on the button right to the attribute:

Please note, the attribute can be hidden if the Platform Package selected in the particular profile member doesn't support Blob files.