Configuring Drill and Slice Buttons

After merging the component, add and configure Drill Down button and Drill Up button. When the component is configured, the buttons enable you to drill into the data.

*  To add and configure the Drill and Slice buttons:

  1. In Interactive Reporting Studio , open a dashboard that contains the Drill and Slice component.

  2. Select the frame on which to add the buttons, and press Ctrl+D to enter Design mode.

  3. From the catalog pane, expand Graphics, and drag a picture object onto the frame.

  4. Navigate to drill_down_Button.bmp in the Drill and Slice component directory, and position the button on the dashboard toolbar.

  5. Double-click the button.

    Properties is displayed.

  6. Enter pic^hysl_drillAndSlice^down as the object name, and click OK.

  7. Select the button, right-click, and select Scripts.

    Scripts Editor is displayed.

  8. In Scripts Editor, perform an action:

    • Enter this line of code

      ActiveDocument.Sections[txlMe.Text].Qiq_onControlClick(this.Parent,this)
    • Copy and paste the line of code from another button on the toolbar to avoid data entry errors

  9. Click OK.

  10. Repeat steps 3–9 to select drill_up_Button.bmp, and enter pic^hysl_drillAndSlice^up as the object name.

  11. Optional: Add, configure, and name the corresponding gray buttons for the not selectable state.

  12. Press Ctrl+D to exit Design mode.

Proceed with configuring the Drill and Slice component by creating and displaying charts and pivots.