Here we'll cover your options to tailor your collections to your needs.
You can access the settings of your collections by activating the layout editor (1), and clicking on the cog icon next to your collection’s names (2).
As you can see above,
PatientStatus isn't editable (2), since it's the name of a table in your database. In Forest Admin, a table shows up on the left side bar as a collection.
If you wish to change that name, you may use the Display name field. Here we've named our collection Patient (1).
The Icon field allows you to change the icon next to your collection name.
The Reference field field enables you to specify how links to a record of that collection should be displayed. For instance in our Live demo, the Customers collection has its reference field set to fullname, so that it appears as such in other collections:
Finally, the Sorting field and Order fields allow you to manage how you want your collection's data to display at page load. In the image above, we've set them to
updated at and
descending respectively, so that going to the Addresses table view will show your data ordered from most recently updated backward.
Your collection's permissions are also managed from the General tab:
Here's a quick summary of each available permission:
Allow record details display
Allow record creation
This option also manages the ability to duplicate. If
Allow record update
Allow record deletion
Allow CSV export
Access to records through segments only
To set a collection as read-only, disable all 3 actions: create, update and delete.
Fields settings are covered in the Fields section.
Segments settings are covered in the Segments section.
Smart Actions settings are covered in the Actions section.
Smart Views settings are covered in the Views section.