Show all
A Smart Label is a text label that is clickable. At runtime,
if the user clicks the label text, a pop-up SmartInfo section
appears.
By default, Smart Label text appears in DARK RED FONT, to indicate to
users that the label can be clicked. You can change this
through a CSS style definition in the workforms style sheet
that applies to your application. For example, you can update
the workforms style sheet to include a style definition such as
.smartInfo { color:#003366;
font-weight:bold }
Adding a Smart Label is similar to adding a text label,
except that the Format field value is
SmartLabel and accepts parameters.
1. Build and test a section
rule
Identify or create a section rule that forms the contents
of the pop-up window.
The section rule cannot contain input fields.
2. Add the Smart Label control to the
Harness, Section, or Flow Action rule
3. Complete the Cell
Properties panel — Top fields
Click the magnifying glass icon at the top right of the control to open the Cell Properties panel.
Field
|
Description
|
Property
|
Accept the placeholder property
.pyTemplateSmartLabel. (This property is
unaffected at runtime.)
|
Display As
|
Accept the default value SmartLabel.
Click the magnifying glass icon () to enter
values for three parameters to this HTML Property
rule:
Parameter
|
Description
|
Label
|
Enter the text that is to appear in the cell
on the harness, section, or flow action form.
|
Section Name
|
Enter the second key part — Stream Name — of a section
rule to appear as a pop-up when the user clicks
the label. At runtime, the system uses the Applies To class of the current
rule to find the section rule using rule
resolution.
|
Header text
|
Enter text to appear at the top of the pop-up
SmartInfo window.
|
|
Behavior
|
|
4. Complete the Cell Properties panel
— General tab
5. Complete the Advanced tab
About Flow Action rules
About Harness rules
About Section rules