File storage locations
In the "Integration" module, you can use file storage locations to specify where files that are uploaded via the portal should be physically stored.
Via the main menu "Edit / New file storage location" or the corresponding context menu, a wizard is opened in which a new file storage location can be created. To do this, the "File storage locations" entry in the left-hand area must be selected.
New file location
Under the alias name that you can enter here, the file storage location can be selected in applications if you configure a file data field there. The path can be defined below this. Simply enter the desired path or click on "Select folder". This opens a dialog in which a directory can be selected.
Insert standard path
Automatically inserts the portal directory "internal/files", followed by the placeholder "${appGuid}". Instead of ${appGuid}, the GUID of the application to which the file location is linked is used later.
Description
An explanation of the file storage location can be entered here. Information on multilingual descriptions can be found here.
Delete files when data field is deleted
Deletes all files located in the file location directory as soon as the file data field in the application designer is deleted.
Export files
With this setting, the files in the file storage location are also exported when the application or portal is exported.
Please note that changing the storage path is possible after it has been created, but it requires the files to be manually moved from the old storage location to the new path.
In more complex applications, for example, multiple applications and data groups may link to the same storage location. Identifying the files that belong to the corresponding records is very complicated and can only be done at the database level by checking each reference.
If files are moved, the alias that refers to the new file location must then be changed in the properties of the data field.
Click "Next".
The file location can be tested here. Further information can be found here.
Edit existing file locations
In the file location list on the right-hand side, you will find alias names and paths as well as the number of applications that use the file location.
Each newly created portal already has the file storage location "system" on the right-hand side, in which the files are managed that are not assigned to a file storage location created here.
You will also find the file storage location "systemUserImages", the Intrexx standard file storage location for user images.
File storage locations created by you are also listed in this area. Via the main menu "Edit" or the context menu of a selected file storage location, the file storage location can be edited or removed and a new file storage location can also be created.
The "Show applications menuu item opens a dialog in which you can obtain information about the applications in which the file storage location is used.
Applications
All applications that use the file storage location are listed here with data group and data field.