I. Problem description
Some widgets in the report application are used frequently, and these widgets are defined in the same way and the data used is the same. If all templates define the widgets again, it would be a waste of time.
Therefore, we often predefine these frequently used widgets as global widgetss in the designer menu bar Server>Widget Management. After defining it again, all templates can be used, as shown in the following figure:
II. Configuration information
The configuration information of the global widget is stored in the PUBLIC.FINE_CONF_XMLENTITY table in the FineDB database, and the widget is saved as a record starting with WidgetInfoConfig.nameWidgetConfigMap.
The record saved by the above widget is WidgetInfoConfig.nameWidgetConfigMap.area, and the icon information storage ID is WidgetInfoConfig.iconManager.
The specific configuration information is shown in the figure below:
You can see the just predefined widgets in the widget settings, as shown in the following figure: