Move, rename and remove fields
Last updated
Last updated
This is the official documentation of the @forestadmin/agent
Node.js agent.
When building your admin panel, you will probably want to hide as much complexity from your users as you can.
This includes:
Hiding technical and confidential fields
Using naming conventions that the final user understands.
You can import fields from into your collections.
The imported fields will behave as if they were on that collection.
Note that when using readonly: false
, the referenced record fields can be edited.
Renaming and removing fields or relations can be done simply by calling the renameField
and removeField
methods.
Renamed and removed fields are renamed and removed ONLY in the admin panel.
In your code:
Removed fields are still accessible (for instance, as dependencies to compute new fields)
Renamed fields must still be referred to by using their original name.