Table of Contents

Article

How to customize the contents of a SmartInfo pop-up window

Summary

In V5.2, you can create SmartInfo hover-over pop-ups that contain custom text.

  • Suggested Approach

    Changing the text that appears in hover-over pop-up's is a two step process:

    This article describes each of these steps in detail.

    1: Create a Rule That Contains the Popup Content

    Follow these steps to create a section rule that contains the content that will appear in the popup:

    1. Create a new section rule in your RuleSet.
    2. Click the icon to turn on wireframes.
    3. Add the information that you want to appear in the popup. In the following figure, that content is text, but you can include other section rules that display additional information.
    4. Save your changes.

    Step Two: Link the Section Rule to a Field Label

    Complete the following steps to link the section rule to a field label:

    1. From the App Explorer tree, right-click User Interface. A menu appears.
    2. Select New > Paragraph. The New Instance form appears.
    3. Fill in the fields of the New Instance forms with values that are appropriate for your system and click Create. The Paragraph form appears.
    4. Type the text for the label of the field which you are enabling hover-over pop-ups for.
    5. Highlight the text that you just entered.
    6. Click the SmartInfo icon . The SmartInfo dialog appears.
    7. Specify the name of the section rule that contains the pop-up text in the Section name field, and the text that you want to appear in the pop-up's header in the Header Text field.

      Optionally, enter a page name in the Using Page field. If you leave this field blank, the system at runtime uses the Applies To class of this paragraph rule to find the section rule.

    1. Click Save.
    2. Open the harness, section, or flow action rule that contains the field that you want to enable hover-over pop-ups for.
    3. Click the icon to turn on wireframes.
    4. Expand the Paragraph node of App Explorer. Find the paragraph rule that you created in steps 1 - 6.
    5. Click the blue dot next to the paragraph name (circled in the following figure) and drag the rule into the Label cell for the field that you are enabling hover-over pop-ups for.

    1. Save your changes

Published February 8, 2007 — Updated February 8, 2007

Have a question? Get answers now.

Visit the Pega Support Community to ask questions, engage in discussions, and help others.