When working with a library component, sometimes you may find the predefined view elements in the business view on which the library component is based cannot meet your requirements. In this case, you can create some dynamic resources and use them in the library component to get the desired data. Then when you save the library component, the dynamic resources will be saved along with it as its resources.
Dynamic resources are library component level resources, which means they are only available to the library component for which they are created.
Dynamic resources that can be used in library components include formulas and aggregations.
To create a dynamic formula:
Whether a dynamic formula can be used as a certain type depends on the following rule:
Once a dynamic formula has been created, you can then drag it from the Resource View panel to the desired position in the library component as a detail/group or an aggregation object as defined, or use it when working with the report wizard.
In the Resource View panel, you can make use of the shortcut menu of an existing dynamic formula to edit or delete the formula, or change the formula type as Group, Detail, or Aggregation if needed.
Notes:
"~", "`", "!", "@", "#", "$", "%", "^", "&", "*", "(", ")", "-", "+", "=", "{", "}", "[", "]", "|", "\\", ":", ";", "\", " ' ", "<", ",", ">", ".", "?", "/"
Examples:
You can also create dynamic aggregations by mapping them to the available resources such as group objects, detail objects in the current business view, and the dynamic formulas that have been created in a library component.
To create a dynamic aggregation:
next to the Mapping Name text field to specify the field on which the dynamic aggregation is based.Once a dynamic aggregation is created, you can then drag it from the Resource View panel to the desired position in the library component to get the desired data, or use it when working with the report wizard.
For any dynamic aggregation, you can further modify if needed. To do this, right-click the aggregation and select Edit from the shortcut menu. Then in the Edit Aggregation dialog, edit the aggregation as required.
For dynamic aggregations that are no longer required, you can remove them. To delete an aggregation, right-click it and click Delete on the shortcut menu. Aggregations that have been used in the library component cannot be deleted.