Function | Parameters | Return Value | Description |
---|
get_text_constant(_id, default=None) | _id: ID of the text constant
default: default text to be returned in case the text constant could not be found | Returns a dictionary of language: text like {'DE': 'Hallo Welt', 'EN': 'Hello World'} | Retrieves a text constant in all languages from PLANTA. |
get_global_setting_value(python_id, attribute, value_type=None, default=None) | python_id: Python ID of the global setting
attribute: attribute to be fetched ('class', 'alpha120', 'python_id', 'parameter', 'description', 'template_code', 'invisible')
value_type: type to cast the value to
default: default value to be returned in case the global setting could not be found | Returns the value of an attribute of a global setting | Retrieves a global setting value from PLANTA. |
get_listbox_ident_and_category_mapping(listbox_category, reverse=False) | listbox_category: ID of the listbox category
reverse: whether or not to return the mapping in 'text: ident' format | Returns a mapping of ident: text for a list of listbox values | Gets a mapping of ident: text for a list of listbox values from PLANTA. |
get_system_title() |
| Title of the system | Returns the value of DI 025112 "System name" for the active license |