Skip to main content


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

Purpose-Specific Control- General tab

Updated on November 15, 2021
Applicable to Theme UI-Kit applications

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.

FieldDescription
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. 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 Live UI 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.

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