Skip to main content


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

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

How to enable a SmartInfo details display on report rows

Updated on September 20, 2019

Summary

You can provide a SmartInfo popup on rows of a report by configuring the Details Display feature for a list view or summary view report.

Update: Beginning with V5.5, two SmartInfo displays can be associated with report rows. See How to create reports that offer users two distinct SmartInfo displays.

Suggested Approach

Complete the following steps to implement a details display popup for a list view or summary view report:

  1. Create a section rule in your RuleSet using the class that the section rule applies to as the first key part.  Configure the section rule to contain the contents of the SmartInfo popup display.
  2. Create an activity that computes the HTML text to be rendered. This activity must meet the following conditions:
    • The Applies To key part of the activity matches the Applies To key part of the list view rule, or is an ancestor class of this list rule.
    • The activity accepts a string input parameter named keyHandle.
    • On the Security tab of the activity, the May Start? check box is selected.
    • The activity uses the Obj-Open-by-Handle method to open the object (based on the handle received as the parameter) into a page.
    • The activity assembles and returns an HTML stream. The example below uses the Show-Stream method to display the contents of the section rule created in Step 1.
    • The activity should not produce HTML code that contains:
      • <HTML> or </HTML> elements
      • Input fields
      • <TEXTAREA> elements
      • JavaScript code or calls

For example, activity getCustomerSmartInfo (Figure 1 - Figure 4) can be used to display a popup containing customer address information when the user hovers over a row in a report containing customer data.

  • Step 1 opens an instance of the Data-Customers class, as specified by the parameter keyHandle
  • Step 2 displays a section rule named Data-Customers.SmartInfo using the Show-Stream metho
  • Step 3 removes the clipboard page, no longer needed.

Figure 1. Step 1 of getCustomerSmartInfo Activity - Open Object

zzz

Figure 2. Step 2 Display the SmartInfo Section

zzz

Figure 3. Parameter Tab

zzz

Figure 4. Pages & Classes Tab

zzz

For an additional example, review the standard activity Assign-.getWorkItemSmartInfo, which can be used to supplement worklist displays. It assembles an HTML stream by evaluating a section named Work-.WorkItemSmartInfo.

  1. Open the list view or summary view rule that you want to enable details display for. Go to the Formattab and fill out the rule’s SmartInfo fields.
    • Enter text to appear in the header of the pop-up window in the Header field.
    • Enter the name of the activity that you created in the Content field.
    • Save the List View form. Test.

Figure 5: List View form


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