.forestadmin-schema.json

The .forestadmin-schema.json file

In your Development Environments only, on server start, a .forestadmin-schema.json file 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 isProduction in the createAgent function. Setting this variable to false will regenerate a new .forestadmin-schema.json file every time your app restarts. Using true will never regenerate the file.

Versioning the.forestadmin-schema.json file will also help you visualize your admin panel configuration changes:

Last updated

Was this helpful?