%HI_GetColumnMetadata, %HI_SetColumnMetadata functions


Function
%HI_GetColumnMetadata function gets back a text value of metadata (according to defined key) that are assigned to the column of the graphic object Browser.
%HI_SetColumnMetadata function sets a new text value of metadata (according to defined key) that are assigned to the column of the graphic object Browser.
Declaration
TEXT %HI_GetColumnMetadata(
  INT in _refId,
  INT in _index,
  TEXT in _key
 )
 
 BOOL  %HI_SetColumnMetadata(
  INT in _refId,
  INT in _index,
  TEXT in _key,
  TEXT in _value,
  BOOL in _bOverWrite
 ) 
Parameters
_refIdReference to the graphic object (reference variable).
_indexConsecutive number of the column.
_keyKey which specified metadata.
_valueNew value of metadata.
_bOverWriteTRUE - either metadata are inserted (if they do not exist) or the value of existing metadata is updated.
FALSE - either metadata are inserted (if metadata do not exist) or the existing value of metadata is kept.


Description
%HI_GetColumnMetadata function gets back the text value of metadata (according to the defined key) which is assigned to column of the Browser graphic object.
%HI_SetColumnMetadata function sets new metadata (according to defined key) to column of Browser graphic object.


Note 1
Configuration of metadata for column of the graphic object Browser.

%HI_SetColumnMetadata function applies the change of metadata only on the running instance of picture.
Note 2
These functions are available also in %HIX_ version.

Napíšte komentár