Customize views¶
A screen of the Viindoo Enterprise Management Software can offer several view types: list, form, kanban, calendar, pivot, graph, activity and the search panel. The Viindoo Customizer application lets a system administrator edit each of them on the screen itself. This article covers the view types other than the form and the list, and the options that control what the users of a screen may do.
Who |
A system administrator: a user whose Role is Administrator. |
App |
Viindoo Customizer |
Requirements
This tutorial requires the installation of the following applications/modules:
It also assumes you know how to open the Customizer. See Customize the existing interface.
Switch between view types¶
In the Customizer, the toolbar shows one icon for each view type the current screen offers, followed by the magnifier icon of the search view. Point at an icon to see which view it opens. Click an icon to swap the canvas to that view type, without leaving the Customizer.
Add or remove a view type¶
Add a view type¶
Click the + icon at the end of the view type icons, titled Add view. It is shown only when the screen can still offer at least one more view type. A screen that already has every view type, such as Sales ‣ Orders ‣ Orders, does not show it.
Choose a type in the list, for example Pivot.
The canvas switches to the new view type at once, filled with defaults that suit the model, and its icon stays in the toolbar for this screen. The screen still opens on the view it opened on before. The search view cannot be added from this list.
Remove a view type¶
Switch to the view type, open the View tab and click Remove View.
Confirm.
The view type and every customization made on it are removed from this screen, and this cannot be undone. The Customizer removes only a view type it created itself: one you added with Add view, or the list and form it generated for a model you created. View types that come with an installed app cannot be removed.
Edit a kanban view¶
Open the kanban view of a screen, then click the Customization Mode icon, or switch to the kanban icon in the Customizer. The canvas shows a single sample card, not the whole board.
On the Add tab, Components lists the structural parts a card can carry: Side Panel, Menu, Ribbon and Color Picker. A part is listed only while the card does not already have one.
Under Existing Fields, type in Search fields to filter the list, then drag a field, or a component, onto the card. Click the + next to Existing Fields, titled Create new field, to create a field.
Unlike a form or a list, a kanban card has no New Fields tiles: only existing fields and the four components can be dropped onto it. Select an element of the card to edit its properties on the Properties tab.
The View tab of a kanban view holds these options:
Can Create: lets users create records from the board.
Quick Create: lets users create a record directly in a column of the board.
Sort By, then Order: the order of the cards.
Open Record On Click: whether clicking a card opens the record.
Highlight Color Field: the field whose value colors the card.
Edit the search view¶
Click the magnifier icon at the end of the view type icons to open the search view.
The canvas shows the Filters, Group by and Favourites columns of the search panel, and the Autocompletion Fields offered while the user types in the search box.
On the Add tab, drag a Filter or a Separator from Components onto the filters, or expand Existing Fields and drag a field into the group-by, filter or autocompletion zone.
Hidden search elements are not left out. The canvas shows them with a hatched placeholder, so you can select and edit them too.
Configure a calendar, graph, pivot or activity view¶
These four view types are not edited by clicking the canvas. Open the View tab: every option is there, and each change redraws the canvas at once.
- Calendar
Turn Quick Create on to let users create records from the calendar. Choose the Start Date Field, the Stop Date Field, the Delay Field, the Color field, the All Day field and the Default Display Mode (day, week, month or year).
- Graph
Choose the chart Type (Bar, Line or Pie) and its Sorting. Turn Access records from graph on to let users open the records behind a bar, and Stacked graph on to stack the series (this option is hidden for a pie chart). Choose the First dimension, the Second dimension and the Measure.
- Pivot
Turn Access records from cell on to let users open the records behind a cell. Choose the Column grouping, the Row grouping - First level and Row grouping - Second level, and the Measures.
- Activity
Has no option of its own: its View tab offers only Edit Source Code and Reset Default.
Control who can create, edit or delete¶
The View tab of a form and of a list controls what the users of the screen may do. Switch to the view type, open the View tab and set the options below.
Can Create, Can Edit and Can Delete: tick or untick them to allow or forbid adding, changing or removing records from this screen. They apply to form views and list views, and Can Create also applies to kanban views.
A list view also offers:
When Creating Record: how a new record opens, for example in the form view.
Enable Mass Editing: lets users edit several records at once.
Show link to record: shown once the list is editable.
Sort By, then Order, and Default Group By.
Note
These options control what the screen offers. To forbid a group of users from reaching a model or a field, set access rights instead. See The access rights in Viindoo customizer.
Edit the source code of a view¶
For a change that the canvas cannot make, edit the view directly.
On the View tab, click Edit Source Code. A resizable side panel replaces the left panel.
The panel shows a picker with the name of the view, the Save and Close buttons, a Format button that arranges the code, and the code editor.
Edit the code, click Save, then Close. The canvas shows the change at once.
Reset a view to its default¶
Click Reset Default on the View tab, then confirm, to discard the changes made to that view in this database. Undo cannot bring them back: you can only customize the view again. Changes that come from an imported module stay.
Other tools¶
The Tools menu of the toolbar opens, already limited to the model you are editing, the Automations, Webhooks, Filter Rules and Views lists, and the actions and menus of the model. To automate actions on the records of the model, see Automation rules.