Asset Marker

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: text, textarea, number, double: the configured value has to match the value in the informationfield

NOTE: For better performance add the property customfields.list.asset.required.field.ids= with a list of all the required Informationfields. (e.g. customfields.list.asset.required.field.ids=108,118,138)

  • 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: list of long, required: no, default: -

This property takes a set of informationfield-Ids that should not be empty.

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)

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

Initial Version