Skip to content

Admin Info

The administrative metadata for the Viur Admin user interface is delivered via /vi/config. Within the module payload, each module provides its own admin definition.

An admin definition only requires name and handler to be valid.

The admin frontend evaluates the following properties:

FieldValuesDescriptionExample
nameStringDisplay name of the module inside the UI."User"
handlerlist, list.fluidpage.content, list.grouped, list.*, tree.simple.file, tree.node, tree.node.*, tree, tree.*, singleton, singleton.*Defines the handler component used to render the module."list"
icon${iconName}, ${library}___${iconName}, /static/*Icon identifier; may reference Shoelace libraries or /static/ SVG assets."gear",
"myicons___star",
/static/site/svgs/icons/star.svg
columns[String]Default column selection for list or tree handlers.["name","creationdate"]
filterDictPermanent filter added to handler requests.{"orderby":"sortindex"}
displayhidden, visible, groupControls sidebar visibility. group turns the entry into a container without its own view."hidden"
moduleGroupStringAssigns the module to an existing module group."manage"
sortIndexIntegerLower values move the module higher in the sidebar; use steps of 10 for easier reordering.20
previewString, DictPreview URL. Strings may contain placeholders; dictionaries expose multiple named links./{{module}}/view/{{key}}
disabledActions[String]Actions that must be disabled for this module.["edit"]
actions[String]Additional built-in actions to expose.["filter"]
views[Dict]Optional child views rendered beneath the module, often with dedicated filters.-
customActionsDictMap of action names to custom action definitions.Check the sidebar for details
editViews[Dict]Adds extra tabs to create/edit forms per key/value pair.Check the sidebar for details
actionGroupsDictGroups actions into named sections in the UI.Check the sidebar for details
kindsDictDefines icons, name, and nesting behavior for trees.Check the sidebar for details
showWithViewAccessbooleanIf this is set to True the User can see the Module when he have view Access only-
userFilters---