Core DevAlpha
How to add a menu and window action
Goal: open your model from the shell sidebar using a bound to a sys.action.window that targets your model.
Steps
- Window action — in
views/actions.xml(or anydataXML file), definesys.action.window:
```xml title="views/actions.xml" copy lines
name="Engagements" view_mode="list,form,kanban"/> ``` ```xml title="views/menus.xml" copy lines
sys.view rows exist for the types you listed (usually via and in XML). Synced inline views get a default sys.view.name of (see core/module view sync).
views/menus.xml: