Add (targets)
Adds a new target to an existing target object for targeting (and filtering) embedded dashboard content.
- Provide the name of the target. The targets are named in the Present dashboard template.
- The filters are one or more embed based filters.
- The isOlap flag is designed to indicate if the target filters are for an MDX based data source.
- You can chain a set of “add” functions to built a composite of targets.
Example
The following example creates 2 sets of filters: ‘dateFilter’ for dates, and ‘countryFilter’ for countries. Each filter is then directed to a specified target (‘Target1’ and ‘Target2’, as named in the dashboard). These targets are then attached to the content method using the EmbedOptions object.