Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Adding the email bot reports dashboard to other portals

Updated on July 27, 2021

Customize the run-time environment of your application by also displaying the built-in email bot reports in the Case Manager or Case Worker portals. By default, the system displays the reports dashboard in the Email Manager portal. By adding the reports dashboard to other portals, you help customer system representatives (CSRs) gain access to valuable information about the level of automation and performance of the email bot. As a result, you can improve the artificial intelligence and text analysis of the email bot so that it responds to users more efficiently.

To insert the built-in email bot reports dashboard into a portal, you use the Live UI tool to add an embedded section to a user interface element, such as a table layout. The section with the reports dashboard that you insert into a portal is called pyEmailAnalytics and uses the D_pyDataAnalytics data page that is defined in the Data-Channel-Analytics class.

Note: You can also enable or disable the reports dashboard displayed in your portals. For more information, see Enabling reports for the email bot.
  1. Switch to Dev Studio.
  2. Open a portal to which you want to add the reports dashboard by performing one of the following actions:
    • To open the Case Manager portal, in Dev Studio, click Launch web interface, and then click Case Manager.
    • To open the Case Worker portal, in Dev Studio, click Launch web interface, and then click Case Worker.
  3. In the bottom-right of the page, click the Toggle runtime toolbar icon, and then click the Toggle Live UI icon.
    For more information, see Live UI.
  4. Hover over and then click the user interface element to which you want to add the reports dashboard.
    For example: Click the Table Layout element in the My Work area of the Case Manager portal.
  5. In the toolbar located to the right of the element's name, click the Open in Dev Studio icon.
  6. In Dev Studio, in the displayed rule, select a reference element, and then in the toolbar at the top of the page, click the Insert layout or row before selected or the Insert layout or row after selected icon.
    Result: A new Dynamic Layout element is added before or after the reference element.
  7. In the toolbar at the top of the page, click the Structural menu, and then drag the Embedded section into the new Dynamic Layout section.
  8. In the Section Include window, in the Page context list, select Use data page.
  9. In the Class field, enter Data-Channel-Analytics
  10. In the Data page field, press the Down arrow key, and then select D_pyDataAnalytics.
  11. In the Section list, select By name.
  12. In the field to the right of the Section list, press the Down arrow key, and then select pyEmailAnalytics.
  13. Click Submit.
    Result: The Dynamic Layout element displays the reports dashboard for the rule.
  14. Optional: To move the reports dashboard into another place on the page, drag and drop the Dynamic Layout element before or after the other user interface elements.
  15. Save your changes by performing one of the following actions:
    • To save the rule belonging to a locked ruleset to an isolated sandbox to test your changes, click Private edit.
    • To save the rule to a ruleset, click Save as.
  16. Switch back to App Studio.
What to do next: To view the reports dashboard, open the Case Manager or Case Worker portal for your application.
  • Previous topic Enabling reports for the email bot
  • Next topic Configuring how the email bot handles a reply to forwarded emails

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us