Using virtual reports in Activities
Load the specific report definition into the Clipboard, and modify the virtual instance of that report to maintain the original report unaffected. For example, use an Activity that leverages a report about sales, and then add a specific filter that applies only to the particular client to create a unique virtual report.
The original report that you load into the Clipboard becomes clipboard page, and a template for your virtual report. You modify the clipboard page that contains the data from the template.- In the navigation pane of Dev Studio, click Records.
- Expand the Technical category, and then click Activity.
- In the list of activities, select the activity in which you want to use virtual report.
- In the activity rule form, on the Pages & Classes tab, specify the clipboard page name and the class that stores the report definition that you want to use as a template.
- In the activity rule form, on the Steps tab, select the step after which you want to run the report definition, and then click Add a step.
- Load the report definition that serves as a template:
- In the Method field, specify the method or rule that runs the report.
- In the Step page field, enter the name of the clipboard page that you specify in 4.
- Modify the report definition to use it as a virtual report:
- In the lower-left corner of your activity rule form, click Add a step.
- In the Method field, enter the method name that you want to use to modify the report.
- Click the Expand method parameters button, and then, in the Method Parameters box, update the report.
- Use the pxRetrieveSearchData activity to run the virtual
report that you modify:
- In the lower-left corner of the rule form, click Add a step.
- In the Method field, call the pxRetrieveSearchData activity by entering Call Rule-Obj-Report-Definition.pxRetrieveSearchData.
- Click the Expand method parameters button, and then, in the Method Parameters section, provide details of the report definition that you use as the template for the virtual report.
- In the upper-right corner of the rule form, click Save.
Previous topic Integrating with Apache UIMA Next topic Configuring Java compiler access to information