In your Development Environments only, on server start, a
.forestadmin-schema.jsonfile will be auto-generated. It reflects:
- the state of your data sources Collections.
- your Agent customization.
This file must be versioned and deployed for any Remote (test, staging, qa, preprod,...) or Production Environment, as it will be the foundation of your Forest Admin layouts.
We use the option
createAgentfunction. Setting this variable to
falsewill regenerate a new
.forestadmin-schema.jsonfile every time your app restarts. Using
truewill never regenerate the file.
As a consequence, in Remote and Production Environments, the
.forestadmin-schema.jsonfile does not update according to your data sources schema and customization changes (but follows the
.forestadmin-schema.jsonfile versioned in the code you deployed).
Do not edit this file manually, as it could break your interface if the wrong syntax is used.
.forestadmin-schema.jsonfile will also help you visualize your admin panel configuration changes: