In the previous sections we saw how to create the data model. Now we will create the user interface with that data. The first step in this is to create Views of the data Tables.
In Saltcorn, a View is a specific way for a user to interact with one or more records in a Table. Views are built of the following components:
View patter: These are the basis for displaying each View. There are a few View patterns built in and more can be defined by plug-ins. The different View patterns will be covered in the next section.
Table: This is the Table which the view pattern is applied to. View patterns can in principle be applied to any Table.
Config: Configuration uses a multistep dialogue using
This may appear to be fairly complicated at first, and the best way to understand it is to try setting up different configurations of a simple plug-in, such as the Todo list.
To create a View, click the Views option on the main menu and select "Add view"
On the Create view screen:
Select Configure, and you will be taken into the configuration steps depending on the View patterns.
[Need to explain the Columns screen]
When Configuration is complete, you can run the view by clicking Run from on the Config menu on the Views screen.