Attributes for Generic Widgets
Generic widgets are configured in the type htmlContentWidget or one of its subitems. They can be used to display any kind of content on the welcome page of the Web Client.
Attributes:
- localization
Enter the localized values, e.g., for the widget title, using the following syntax: de: {title:'Wetter'}, en: {title:'Weather'}. - parameters
Enter any additional parameters for the widget. These parameters can be used in the widget visualization script, where they are available as String parameters of the render() and resource() methods. - title
Enter the widget title. If the title should be localized, use the following syntax: _('title') - visible
The default value is false. Set it to true to display the widget. - visualizationScript
Enter the name of the script of type Widget visualization used to configure the widget.
Please see Scripts of Type Widget Visualization for an example which implements a weather widget.