This version is out of date, covering development from v5.0.0 to v5.12.2. It is maintained here only for inbound reference links from elsewhere.

Jump to the current version of aTbRef.

Tinderbox Icon

Note Window displayed Key Attribute: Value pop-up menu

Note Window displayed Key Attribute: Value pop-up menu

This menu for String, List and Set key attributes allows you to pick any already-used string [sic] attribute value from a list when that attribute is displayed as a Key Attribute in a text window. The list is created dynamically and is only shown for String, Set and List data type attributes (unless they are built-in read-only fields). The list is case sensitive - so 'Big' and 'big' would both be included as separate values.

For list and set type attributes, the list shows all discrete values not just the values for the current note. For sets and lists only, clicking a listed value toggles it - the value is added unless the target attribute already has that value, in which case it is deleted.

The 'normal' value listed separately at the top of the menu resets the default value for that attribute (or set).

As attribute values are stored case-sensitively, use an agent to help hunt down notes with incorrect spelling/case for values. Use the == equality operator for the query as this is inherently case-sensitive. Using .contains() you need to explicitly set case sensitivity although it is 'on' by default - or use .icontains().

Individual listed values are truncated at 31 characters. Values longer than that must be entered manually. From v5.9.2 value listings can be as long as 255 characters.

There is a limit to the number of values for which a list will be created; the current default is 99 (75 in earlier versions). Where this value is exceeded, the field in question offers no dynamic list.

There is an option for the user to alter this value (higher or lower) by editing their Tinderbox config.xml file and changing the 'UniqueValueLimit' parameter. Before altering this value do consider that setting a much higher limit may affect the applications performance on less powerful machines, especially if several fields with large lists as set a key attributes in note text windows.

Possible relevant notes (via "Similar Notes" feature):

A Tinderbox Reference File : Menus : Popup Menus : Note Window displayed Key Attribute: Value pop-up menu