LinkedIn
Copied!

Table of Contents

Purpose-Specific Control— General tab

Click the Gear icon in the control's header to display control's properties panel, and then select the General tab.

General properties for purpose-specific controls vary according to type. The control you have selected will have some of the following properties.

Field Description
Property
Label Select to use the default label for the property or specify your own label. select or create a label. Use SmartPrompt to select a field value rule if you plan to localize the text. See About the Localization wizard.
Default value
Placeholder
Tooltip
Visibility To control the visibility of the container, select one of the following:
  • Always: Always visible.
  • Condition (expression): The region is visible under the specified condition. In the field that displays, select a condition or click the Open condition builder icon to open the Using the Condition Builder to configure dynamic UI actions.. You can define a simple expression based on the comparison of a pair of constants, properties, or both, combined by Boolean operators, such as .Color="Red". You can combine the expression with a when condition rule or another expression using the && and || operators.
  • Condition (when): Tthe region is visible under the specified condition. In the field that displays, select a when rule. Click the Open icon to create a new when condition or review an existing when condition.
Disable
Required
Identifiers
Tour ID Optional: Provide an ID for use in a guided tour. Use a combination of numbers, letters, and underscores. Pega Platform uses the Tour ID when it finds an anchor button during a tour stop anchor point.
Test ID

Optional: If authorized, you can provide a unique Test ID to better support automated testing of your application.

When creating a control that supports you can use a combination of numbers, letters, and underscores, or click the Generate ID button to create a unique ID. The attribute data-test-id is then generated for the selected element.

After the test ID has been generated, you can view your Test ID in HTML or display it in the Enabling run-time branching and editing panel. You also have the option to have all controls that support Test IDs in a ruleset updated in bulk.

The Test ID is available to access groups that include the PegaRULES:TestID privilege. To disable Test ID, remove the PegaRULES:TestID from the access group.

  • Adding a Currency control

    A currency control is a purpose-specific control. It has properties that let you define its exact presentation behavior to support one or several currencies.

Have a question? Get answers now.

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