Asset Marker

For the most up-to-date documentation, please visit docs.brix.ch

The AssetMarker-Plugin can be used to mark assets with bullets according to predefined criteria.

Properties

To be configured in {home}/appserver/conf/custom.properties

assetMarker.license

type: String, required: yes, default: -

License key (delivered by brix cross media)

guiPlugin.bullets.asset

type: list of string, required: yes, default: noAssetType,invalidInformationFields,unlinked,unreleased,availability,locked,duplicate,conversionStatus

This property defines which bullets are displayed on the assets. The order of the bullets in the property also matches the actual order of the bullets on the assets. To add a bullet, define a name and list it with the other bullets. For example: guiPlugin.bullets.asset=noAssetType,invalidInformationFields,unlinked,unreleased,availability,locked,duplicate,conversionStatus,myBullet Here myBullet would be added as a Bullet. Note: The standard Celum-Bullets must also be listed in the property. The name of the bullet is used for its remaining configuration, therefore "bulletName" is to be replaced by the name.

assetMarker.bulletName.imagePath=

type: string, required: yes, default: -

This property specifies the path to the bullet icon. Each Bullet needs an icon with size 16 × 16 px, the actual content should be 12 × 12px, background transparent.

assetMarker.bulletName.title=

type: string, required: yes, default: -

This property sets the mouseover-title on the bullet. Messageproperties for multilanguage-support can be used.

assetMarker.bulletName.assetTypeIds=

type: list of long, required: no, default: -

If this property is set, only assets that have one of the configured Assettypes will have the bullet.

assetMarker.bulletName.nodeIds=

type: list of long, required: no, default: -

If this property is set, only assets that are linked to one of configured Nodes will have the bullet.

assetMarker.bulletName.nodeTypeIds=

type: list of long, required: no, default: -

If this property is set, only assets that are linked to one of the configured Nodetypes will have the bullet.

assetMarker.bulletName.infofield.{id}=

type: string, required: no, default: -

This property can be set for every Informationfield. If this property is configured for an Informationfield only assets that have the configured value in this fields will have the bullet. The configuration of this property depends on the Type of the Informationfield as shown below. Furthermore, the value can be set to 'isEmpty' and 'notEmpty' for all types.

For better performance, we recommend that you add the property customfields.list.asset.required.field.ids with a list of all the information fields that you configure in the AssetMarker (e.g. customfields.list.asset.required.field.ids=108,118,138). If you don't explicitly tell CELUM to pre-load these information field values in the list response, the AssetMarker will have to reload the asset with those information field values, which can be slow.

  • text/textarea/localized text/localized textarea: possible values are a word or a sentence. The maker will be shown if the informationfield contains the configured value.
  • boolean: possible values are false/true
  • nodereference: takes a list of comma separated nodes. If the nodereference value is one of those nodes the marker will be shown.
  • checkbox: possible values are false/true
  • dropdown: the configuration is made by set the property to the required option index.
  • date: there are different ways to configure a datefield:
    • after MM/dd/yyyy
    • before MM/dd/yyyy
    • between MM/dd/yyyy MM/dd/yyyy
    • next xy
    • last xy

The value xy is a daycount. If the value is set to -1 it means infinite days from today. (e.g. next -1 means everyday in the future)

  • number/double: there are different ways to configure a number or double field (since v1.3):
    • >x
    • <x
    • <=x
    • >=x
    • [x,y) (range x <= value < y)
    • =x

x and y are numbers (resp. doubles). Ranges with '()' / '[]' / '(]' are also allowed.

assetMarker.bulletName.notEmpty=

type: set of long, required: no, default: -

This property takes a comma separated list of informationfield-Ids that should not be empty.

assetMarker.bulletName.nodeExclusive=

type: boolean, required: no, default: false

If this property is set to true, the bullet is only shown if the asset is not linked to any other node than the ones configured in the porperty assetMarker.bulletName.nodes

assetMarker.bulletName.hasFileextensions=

type: list of string, required: no, default: -

This property takes a comma separated whitelist of file-extensions that the assets should have.

assetMarker.bulletName.nodesNotMode=

type: boolean, required: no, default: false

Inverts the assetMarker.bulletName.nodes property if set to true.

assetMarker.bulletName.assetTypesNotMode=

type: boolean, required: no, default: false

Inverts the assetMarker.bulletName.asssetTypes property if set to true.

assetMarker.bulletName.nodeTypesNotMode=

type: boolean, required: no, default: false

Inverts the assetMarker.bulletName.nodeTypes property if set to true.

assetMarker.bulletName.custom=

type: string, required: no, default: -

This property allows to use a custom bean to define the bullet rules.

List of available custom beans:

  • assetMarkerIsDateControlled (Bullet is shown if Asset has availability set to date-controlled)
  • assetMarkerTextIcon (Showes a Text Icon, for example the expiration date of an asset.)

For the assetMarkerTextIcon the following properties need to be set:

assetMarker.bulletName.textIcon.key=

type: string, required: no, default: -

This property defines the category of the text-icon value. Possible keys: infofield, fileinfo, property

assetMarker.bulletName.textIcon.value=

type: string, required: no, default: -

This property defines the text-icon value. Possible values:

  • infofield: id
  • fileinfo: extension, filesize, etc.
  • property: width, height, etc.

Example

guiPlugin.bullets.asset=noAssetType,invalidInformationFields,unlinked,unreleased,availability,locked,duplicate,conversionStatus,groupBullet,progressBullet

assetMarker.groupBullet.imagePath=../images/bullets/group.png
assetMarker.groupBullet.title=maintab.grouptitle
assetMarker.groupBullet.nodeTypeIds=106

assetMarker.progressBullet.imagePath=../images/bullets/asset_in_progress_16_blue.png
assetMarker.progressBullet.title=infofield.approval.pending
assetMarker.progressBullet.infofield.165=2

Screenshot

screenshot

Release Notes

1.0

Released 2018-01-28

Initial Version

1.1.0

Released 2018-06-12

Add isDateControlled marker

1.2.0

Released 2018-08-09

Add the nodeExclusive property

1.2.1

Released 2018-08-27

Add texticon marker

1.3.0

Released 2018-11-08

Add number and double field logic