Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 

AttributeDescription
name
Column name (identifier). This element is not displayed to the user. It is used
for identification of the column and referencing (e.g. previous column). The column definitions
that have the same name in different layers (global, role, user) will be merged together.
description
Free-form description. It is not displayed to the user. It is supposed to be used by system
administrators to explain the purpose of the configuration.
path
Path of the item (property) that this form display or that is taken
as an primary input for the expression (planned for future).
Even if expression is used to display the column value, we need some reference
field that will be used to sort the table when sorting by this column is selected.
We cannot sort by the output of the expression as that is not stored in the repo.
display
Specification of column display properties. This can be used to override the default column
label or presentation style.

display attribute can contain:

label 
tooltip (not implemented yet)
help (not implemented yet)
cssStyle (not implemented yet)
cssClass (not implemented yet) 
visibility
Defines, whether this column will be visible or it will be hidden.
If not specified then it defaults to automatic visibility.
previousColumn
Name of the column that has to be displayed before this column. This value
defines ordering in which the columns should be displayed.
The first column has no value in this element.
If there are multiple columns that specify the same preceding columns then
the implementation may choose any ordering of such columns. However, the
algorithm should be deterministic: the same ordring should be used every
time (alphabeting ordering based on "path" or displayOrder from the schema
are good candidates for deterministic ordering).

Custom actions for object lists.

Starting from midpoint 3.9, there is a possibility to configure a custom action to be run from the object list table. This functionality is intended e.g. to start the specified task template for one object or for a group of the selected objects. 

To configure custom actions, please, use the following example 

Code Block
languagexml
<adminGuiConfiguration>
	<objectLists>
            <objectList id="58">
                <type>c:UserType</type>
                <action id="59">
                    <name>Custom action</name>
                    <display>
                        <label>Run task template</label>
                    </display>
                    <taskTemplateRef xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" oid="78a39955-743b-480f-86c0-9dbeafdbaba6" relation="org:default" type="tns:TaskType">
                        <!-- Change description task template -->
                    </taskTemplateRef>
                </action>
            </objectList>
        </objectLists>
</adminGuiConfiguration>

Xml for the task template object you can find by the following link

After custom action is configured in the admin gui configuration section, you can find action link among menu items on the appropriate type object list panel.

Image Added

Admin GUI Configuration and Authorizations

...