Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

The Dashboard is the default view the user will see when entering User Admin. It consists of a set of configurable and grouped widgets, such as links to Weave clients, other links, data widgets or grids.

Groups

Groups are used for ordering and separate widgets. It is configured with a label and an id (which widgets are registered to).

Widgets

There are a few widgets available by default

Client widget

The client widget are used to forward users to clients, or any other url. It has a title, a target url, and description (optional). If the (ref) config is set, available clients that the user have access to will automatically be added. By default, clients are displayed before all other widgets.

Data Widget

The Data widget displays a single value backed by a data definition

Grid Widget

The Grid widget displays tabular data backed by a data definition

Namespace

urn:se.viamap.useradmin.widget#1.0

Tags

group

Properties

Property

Required

Type

Description

id

yes

String

Unique identitier

title

yes

String

The title of the group

sort

no

Integer

Sorting priority when compared to other groups (ascending). Defaults to 0.

acl

no

ref urn:com.cohga.server.acl#1.0:acl

A reference to an ACL to attach to the configuration

client

Properties

Property

Required

Type

Description

title

yes

String

The title of the client

description

no

String

Additional description of the client

url

yes

String

URL to the client

iconCls

no

String

Icon class to be displayed with the client

height

no

Integer

The height in pixels of the widget, defaults to 140

group

no

String

Reference to Widget group this client belong to (defaults to ‘client’)

sort

no

Integer

Sorting priority when compared to other widgets (ascending). Defaults to 0.

acl

no

ref urn:com.cohga.server.acl#1.0:acl

A reference to an ACL to attach to the configuration

data

Properties

Property

Required

Type

Description

id

yes

String

Unique identifier

description

no

String

Additional description of the widget

url

yes

String

URL to the client

iconCls

no

String

Icon class to be displayed with the widget

height

no

Integer

The height in pixels of the widget, defaults to 140

datadefinition

yes

ref urn:com.cohga.server.data.database#1.0:datadefinition

Reference to a data definition

valuecolumn

yes

String

Reference to the value column in the target data definition

labelcolumn

yes

String

Reference to the label column in the target data definition

group

no

String

Reference to Widget group this widget belong to (defaults to ‘default’)

sort

no

Integer

Sorting priority when compared to other widgets (ascending). Defaults to 0.

acl

no

ref urn:com.cohga.server.acl#1.0:acl

A reference to an ACL to attach to the configuration

grid

Properties

Property

Required

Type

Description

id

yes

String

Unique identifier

title

no

String

The title of the widget

height

no

Integer

The height in pixels of the widget, defaults to 140

datadefinition

yes

ref urn:com.cohga.server.data.database#1.0:datadefinition

Reference to a data definition

group

no

String

Reference to Widget group this widget belong to (defaults to ‘default’)

sort

no

Integer

Sorting priority when compared to other widgets (ascending). Defaults to 0.

acl

no

ref urn:com.cohga.server.acl#1.0:acl

A reference to an ACL to attach to the configuration

  • No labels