JavaScript is disabled on your browser.

Properties - Data field: File handler

The handler class can be configured here.

The handler class performs the task of saving, reading, and deleting files. As aa rule, files are saved to a child data group, which is linked to the parent data group using a foreign key-primary key relationship. The data group can have an integer or a string (GUID) primary key. For this reason, when creating a file data field, yyou can choose whether an integer or GUID handler is used to manage the files.

Alternative handlers, such as the UpSingleFileHandler or the ODataFileHandler, are available. The SingleFileHandler is recommended for performance reasons when multiple uploads are not available for the data field. For OData data groups or foreign data groups, it may be necessary to use different handlers than the Integer or GUID handlers.

Intrexx 7.0 introduces the possibility to define the storage location for files, instead of always saving them to a preset directory. Here, in the data field dialog box, a file storage location can be selected that has been created in the integration center. You can also specify a relative path, meaning a child folder path from the selected file storage location.
We recommend giving some thought to file storage locations before creating the application.

Changing the storage path is possible after the application is created, but it requires all files to be manually moved from the old location to the new path. This does not occur automatically and is not a trivial action.

In complex applications, for example, multiple applications and data groups may link to the same storage location. Identifying which files belong to which data record can be an effortful process and can only be done at the database level by inspecting the references.

As long as you know exactly which files belong to which data group, you can move them to the new path. You must then change the alias, which references the new file storage location, in the properties of the data field.