Difference between revisions of "Modeler:8/CustomAttr"

From CaseTalk Wiki
Jump to: navigation, search
Line 15: Line 15:


Every attribute should have a datatype, and additionally may contain a predefined list, or a default value. And once used, the CaseTalk user may edit these attributes or update them through the specific entity dialogs.
Every attribute should have a datatype, and additionally may contain a predefined list, or a default value. And once used, the CaseTalk user may edit these attributes or update them through the specific entity dialogs.
== Types ==
Custom attributes are of a specific type. This limits the input by the user later on. The available types are:
* text : Any text can be entered.
* timestamp: A datetime is to be entered, typically used in combination with keyword %NOW%.
* options: A list can be set from which the user may choose.
* boolean: Simply a value of True or False can be set.
* color: A color can be chosen.
* uri: The text value is treated as an internet link. This may be convenient to dynamically link it to an online glossary. E.g. a default value may be used: "https://www.google.nl/search?q=%ID%". This will use Google Search to find a keyword corresponding to the identifier of the current entity.


== Keywords ==
== Keywords ==

Revision as of 08:00, 27 November 2015

Custom Attributes

Adding additional descriptive information to your information model can be enabled through custom attributes.

Category

Per category of attributes you should specify for which entities in CaseTalk they apply. For instance Owner related information are enabled for Facts, Objects and Labels.

The category will be added as a tab to the property dialogs for the selected entity.

CustomAttribCategory.png

Attribute

Every category may contain attributes. These attributes are presented in the previously named tabs in the property dialogs.

CustomAttribute.png

Every attribute should have a datatype, and additionally may contain a predefined list, or a default value. And once used, the CaseTalk user may edit these attributes or update them through the specific entity dialogs.

Types

Custom attributes are of a specific type. This limits the input by the user later on. The available types are:

  • text : Any text can be entered.
  • timestamp: A datetime is to be entered, typically used in combination with keyword %NOW%.
  • options: A list can be set from which the user may choose.
  • boolean: Simply a value of True or False can be set.
  • color: A color can be chosen.
  • uri: The text value is treated as an internet link. This may be convenient to dynamically link it to an online glossary. E.g. a default value may be used: "https://www.google.nl/search?q=%ID%". This will use Google Search to find a keyword corresponding to the identifier of the current entity.

Keywords

Within the Default or Update editbox, you can specify any text value. Also you may use some predefined keywords which will expand into a value upon usage. The possible keywords are:

  • %ID% : Entity name of identifier of the object itself
  • %NOW% : Current date and time
  • %COMPUTER% : Current computer name
  • %AUTHOR% : License User Name
  • %COMPANY% : License Company Name