Customize the existing interface

With the Viindoo Customizer application, a system administrator changes the screens of the Viindoo Enterprise Management Software applications directly on the screen being edited, without writing code. What the canvas shows while you edit is what the people who use the screen see afterwards. This article shows how to open the Customizer, how to edit a form and a list, how to add buttons, and how to edit the menu of an app.

Who

A system administrator: a user whose Role is Administrator.

App

Viindoo Customizer

Requirements

This tutorial requires the installation of the following applications/modules:

Open the Customizer

  1. Open the screen you want to change, for example Sales ‣ Orders ‣ Orders.

  2. In the top-right corner, click the cogs icon titled Customization Mode.

The Customization Mode icon in the top-right corner of the Sales Orders list

Note

Only a user whose Role is Administrator sees this icon. To grant it, open Settings ‣ Users & Companies ‣ Users, open the user and set Role to Administrator on the Access Rights tab. The icon is not shown when the window is narrower than 768 pixels (a phone).

On a screen the Customizer can edit, the icon opens the Customizer on that screen. On any other screen, such as the home screen or Discuss, it opens the landing page Choose an app to customize and shows a notice that the action is not supported in the Customizer. Open an app from the menu to edit its screens, or use Export, Import and New App in the top bar.

The Customizer landing page with the message Choose an app to customize and the Export, Import, New App and Close buttons

Click Close in the top-right corner to leave the Customizer and return to the screen.

The Customizer layout

The Customizer opens full screen:

  • A dark top bar with Edit Menu, New Model, Export, Import, New App and Close.

  • A toolbar with Undo All, Undo, Redo, Reports, Access Rights, Tools and one icon per view type of the screen. When the window is too narrow for the whole toolbar, the items that do not fit move into the More menu.

  • The canvas: the same screen, redrawn so that you can select and edit each element.

  • A left panel with three tabs: Add, View and Properties.

The Customizer open on the Sales Orders list, with the top bar, the toolbar, the canvas and the New Fields tiles of the Add tab

The canvas always shows every element so that you can select it, including elements the people using the screen do not see: an element that is hidden, or restricted to a security group, is marked with a hatched (striped) placeholder. Labels are shown in your interface language. A change is saved as soon as you make it, and the toolbar shows Saved.

On a window narrower than 768 pixels, the left panel becomes a drawer. Click Toggle panel (the three-line button in the toolbar) to slide it open over the canvas, and click it again, press Esc or click the canvas to close it.

Edit a form

  1. Open a record, for example a sales order, then click the Customization Mode icon.

  2. The canvas shows the form. Hatched elements are hidden for the people using the screen.

The Customizer open on a sales order form, with the Components and New Fields tiles and the form canvas showing hatched hidden elements

Edit Fields

Edit the position of the field

On a form, click and hold a field, then drag it to the position you want.

On a list, click and hold the column header, then drag it to its new position.

Edit the properties of the field

Click the value of a field on the canvas, not only its caption. The left panel switches to the Properties tab and shows the properties of the field.

A selected field on the form canvas with its Properties tab open, showing Class, Invisible, Required, Readonly, Bold, Technical name, Type, Label, Help Tooltip, Widget, Domain and Context
  • Invisible, Required and Readonly: hide the field, make it mandatory, or make it read only. Click Condition next to Invisible or Readonly to apply the property only when other values of the record match the rules you set with New Rule.

  • Bold: shows the value in bold.

  • Label: the name shown to the people using the screen. Edit it here to rename the field.

  • Help Tooltip: the hint shown when the user points at the field.

  • Widget: how the field is displayed. Learn more in Introduce about fields, widgets and views.

  • Domain and Context: for a relational field, limit the records offered in the field. Click Domain, then New Rule, to set the conditions.

  • Limit visibility to groups and Forbid visibility to groups: restrict who sees this element on this screen. Learn more in The access rights in Viindoo Customizer.

When you click only the separate caption of a field, the panel offers just its Label and the visibility controls.

Add a field to an existing interface

On the Add tab, expand Existing Fields, type the name of the field in Search fields, then drag the field to the position you want, on a form or on a list.

See also

To create a new field and display it on the interface, see Create a new apps and models.

Remove a field from an interface

  1. Click the field you want to remove, then scroll the left panel down and click Remove.

    The Remove button at the bottom of the Properties tab of a selected field
  2. In the confirmation, click Ok.

    The confirmation asking whether to remove the field from the view

A field that belongs to the original screen is hidden, not deleted, so other apps that build on the screen keep working. It stays on the canvas as a hatched element: select it and clear Invisible to bring it back. A field you added with the Customizer is deleted. If the field is required and has no default value, the confirmation also warns that hiding it may block the creation of new records.

Undo and redo

Click Undo in the toolbar to cancel the last change and Redo to apply it again. Click Undo All to discard every change made since you opened the Customizer, after a confirmation. The toolbar shows Saved once the change is stored.

The Undo All, Undo and Redo buttons and the Saved indicator in the toolbar

Add buttons to a form

A stat button. Click the + tile titled Add a stat button, placed before the existing stat buttons. In the Add a Button dialog, enter a Label, choose an Icon, and choose a related field under Select a related field, then click Confirm.

The Add a Button dialog with the Label, Icon and Select a related field boxes and the Confirm and Cancel buttons

A header button. Click Add a button, next to the action buttons of the form header. Enter a Label, choose whether the button runs a server action or calls a method, then select the action and click Confirm.

The dialog to add a header button, with its label, the choice between running a server action or calling a method, and the Confirm and Cancel buttons

Edit Menu

To edit the menu of an app, open a screen of that app in the Customizer and click Edit Menu in the top bar. A window lists all the menus and submenus of the app.

The Edit Menu window listing the menus of the Sales app, with the Add a new menu item link, and the Apply and Cancel buttons
  • Click the purple pencil icon of a row to edit that menu, and the red trash icon to mark that menu and its submenus for deletion.

  • To change the order, click a row, hold it and drag it to the position you want. Drag a row to the right to make it a submenu.

  • Click Apply to save the new order, the nesting and the deletions. Cancel closes the window without applying them.

To create a menu, click Add a new menu item. In the window that opens, set:

The Add Menu window with the Menu and Action boxes, the Access Rights and Submenus tabs, and the Save and Discard buttons
  • Menu: the name of the menu.

  • Action: what the menu does when it is clicked: print a report, open the records of a model, open a web page, run a server action, or run a client action. Choose the action type, then the action in the box next to it. The box is required.

  • Access Rights tab: the groups that can see the menu. See The access rights in Viindoo customizer.

  • Submenus tab: the submenus of this menu. This tab needs the developer mode.

Click Save. A menu added or edited with Save is saved at once and already appears in the app menu: Cancel on the Edit Menu window does not undo it.