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:
- Create a new section rule in your RuleSet.
- Click the icon to turn on wireframes.
- 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.
- 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:
- From the App Explorer tree, right-click User Interface. A menu appears.
- Select New > Paragraph. The New Instance form appears.
- Fill in the fields of the New Instance forms with values that are appropriate for your system and click Create. The Paragraph form appears.
- Type the text for the label of the field which you are enabling hover-over pop-ups for.
- Highlight the text that you just entered.
- Click the SmartInfo icon . The SmartInfo dialog appears.
- 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.
- Click Save.
- Open the harness, section, or flow action rule that contains the field that you want to enable hover-over pop-ups for.
- Click the icon to turn on wireframes.
- Expand the Paragraph node of App Explorer. Find the paragraph rule that you created in steps 1 - 6.
- 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.
- Save your changes