Specifying a Content Storage for a Type

For each type in the system, you can specify which content storage will be used to save files from attributes of type content.

To do this, perform the following steps:

  • Create a content storage. How to do this is described in the article Creating a New File Storage Configuration.

  • Go to the types journal, find the type, and open it for editing.

  • Open the Content Configuration tab and in the Storage property specify the storage where the data should be saved.

  • Save the changes.

After this, all content for entities of this type will be saved to the specified storage. Content for these entities will be updated and downloaded by working with files from that storage.

What happens if the content storage is changed at some point?

If the content storage for a type is changed while the system is running, all existing files will remain in the old storage, while all entities of that type created after the change will store their content in the new storage. Existing files will continue to work normally, since when a file is added to the content storage, a reference is generated that contains all the data needed to locate the file.