Strapi CMS
Here you will find answers to frequently asked questions about the headless CMS Strapi. The goal is to provide quick help – from typical entry-level questions to recurring topics from daily work with the CMS.Is there access to the Node.js server?
Direct access to the Node.js server is currently not possible and is not planned for the near future.How can content be imported into the Content Manager?
The currently implemented Strapi import concept allows you to export data from one Strapi instance and import it into another instance, since the data structures are consistent. Imports of static content into Strapi are generally possible, but the content must be structured to enable later editing. In order to import content into Strapi, the corresponding structures (for example components and input masks) must be provided as well. These structures make it possible to display and edit the content in Strapi. We therefore need detailed information about the type of content to be imported (for example text content pages, navigation structures, etc.).Can lifecycle hooks be used?
No. Strapi offers lifecycle hooks that allow you to execute certain actions when content is changed or created. In our WEBSALE system, however, Strapi is integrated in such a way that it exports static content to the server. This content is then displayed in the shop. Changes in Strapi must therefore be exported and transferred to the shop to become visible. Since the shop itself does not communicate directly with Strapi, the use of lifecycle hooks is not possible.Which user permissions are available?
The initial account is always activated as SuperAdmin, which means this account has all rights. This account can then add additional users or accounts to which different rights can be assigned. You can find more information here.Is a direct upload to the Strapi media library possible?
No. Image uploads are only possible via Strapi itself. In general, image data such as the name may only be edited there.How do image variants and different sizes work?
By default, the image converter is configured so that uploaded images are output in the same size but in a different file format. You can adjust the image converter configuration file to your needs regarding the resolution and quality of the images. However, you must always ensure that the paths in the configuration file are not changed.Is there access to the Strapi server?
No. Direct access to the Strapi server is not provided. Because Strapi is delivered in development mode, it is nevertheless possible to create, adapt, and extend content elements without WEBSALE. The transfer of the structured JSON files of created content to the S3 object storage takes place automatically.Which database is used for Strapi?
We use SQLite3 for Strapi.Data access and external data
Why does $wsExternalData.load(file, options) return null?
If $wsExternalData.load(file, options) returns null, the file was not found at the specified path. Common causes are an incorrect directory or path, typos (directory, path, or file name), or the file not being present on the server.
There are two ways to check: either look in the corresponding S3 bucket to see whether the file exists at the specified directory/path, or – without S3 access – output the contents of the directory with $wsExternalData.read(path, options) and check whether the expected file name is included (see the parameter description for read).
You can find more information about $wsExternalData.read(path, options):
- Data access & display → $wsExternalData - external data
- Reference → Modules → $wsExternalData
