org.visallo.dashboard.layout

Define dashboard layout for new cases

When a new case is created or new user logs in, this will define the default dashboard items and their layout. The user is able to modify it upon its creation.

Only one extension should be registered or an error will log to console. The default layout is defined in defaultLayout.js.

Example

registry.registerExtension('org.visallo.dashboard.layout', [
    {
        extensionId: 'org-example-card-default',
        configuration: { metrics: { x: 0, y: 0, width: 6, height: 5 } }
    }
])

Registration

registry.registerExtension("org.visallo.dashboard.layout", config)

Source:
Tutorials:
See:
Configuration Properties:
Name Type Description
config Array

Array of dashboard item configurations

Validation Function

Extensions registered must pass this validation check to be used.

function extensionValidator(e) {
    return _.isArray(e);
}