Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Temporary directories

Applications may need to create temporary files. The “tempdir” component creates a permanent folder for storing such files.

Temporary directories are created as subfolders inside innomatic/core/temp.

Each application is responsible for clearing its own temporary files, optionally with a scheduled maintenance task (explained in Innomatic Developer Advanced Training).

However, when an application is uninstalled its temporary directories are automatically removed with their whole content.

Example in application.xml:

 <tempdir name="example-basic-app" />

Generic directories

You may want to store additional files at application, tenant or user levels.

Innomatic Platform already provides folders for such needs:

Applications:

innomatic/core/applications/<application_name>

e.g.: innomatic/core/applications/myapplication

Tenants:

innomatic/core/domains/<tenant_name>

e.g.: innomatic/core/domains/mytenant

Users:

innomatic/core/domains/<tenant_name>/users/<user_name>

e.g.: innomatic/core/domains/mytenant/users/admin@mytenant

  • No labels