Warning!
You’re now reading a legacy document. The features described below are only usable within the classic generation environment. Currently, Betty Blocks offers a new page template that can be used as your application's back office.
After reading this article you will know:
What views are in the Back Office
The difference between the different types of views
What the different types of views look like
Views represent models from the Data Model. They display the data stored in a model so it's easy to view for the application's users. To keep the Back Office nice and neat, it is possible to group views into sections. Views can appear as either Grids or Pages.
Grids
The Grid is the most commonly used view within Betty Blocks, this is because it is straight forward and highly customizable. A Grid basically is a table for data, every Grid displays the data of a single model with its properties. The table has a column for each property and for every object of the model there is a row. The columns are very customizable and you can decide which property you do and don't want to see. Every Grid has a form, with this form it is possible to see, create and edit data for the model.
It is possible to create multiple Grids for one model. This comes in handy when you need to show different data to different people. With a role-based user structure, you can hide views for a specific type of user. If you want to know more about Grids and how to create them, you should take a look at this article explaining all the settings within the Grids: Grid Reference
Pages
If you want to show something in your Back Office that cannot be realized with a grid or if your application does not have a front-end, a page can be very useful. Pages can load webpages through an iframe in the Back Office. In the image above a page has been loaded that displays a map API. Keep in mind that not every webpage can be loaded in an Iframe. If you want to know more about loading Betty Blocks pages in an Iframe, then this article could help you with setting things up: How to make an iframe in the Back Office.
➝ Next article: What is impersonation?