Live Fields for the Advanced Database Row Field

If you have Power Scripts installed on the same instance, its powerful Live Fields functionality is prepared to offer you most of its main functions which have been adapted to work with the Advanced Database Row Field. In case you’re not yet familiar with it, here is where you can find more details about Live Fields.

Here is a list of Live Fields functions that you can use to manipulate the UI of the Advanced Database Row Field or to intercept its changes:

  • lfHide - hides the field from the screen;

  • lfShow - shows the field (if previously hidden);

  • lfDisable - disables the field;

  • lfEnable - enables the field (if previously disabled);

  • lfShowFieldMessage - displays a message next to the field;

  • lfHideFieldMessage - hides any message for the field;

  • lfSet - sets a value for the PK of the field and uses this value to refresh the field’s value. So, if it is a generic field, you don’t need to use all the column values, just the PK will do. This function is only available in the Issue Edit screen.

  • lfWatch - intercepts the change of the field’s value.

Getting the field’s value in the screen using argv[“customfield_xxxxx”] will result in a “|” separated string composed of all the column values of the field.

 

See More