(this page was created automatically. In case of formatting issues, please visit the official Wiki Page)

Content Switch

The Dynamic Content Switch component is a navigation control that allows users to switch between different views or states in your application. It displays a series of clickable buttons arranged horizontally, where each button can trigger specific actions when clicked. This component is ideal for implementing tabbed interfaces, wizard-style navigation, or toggle functionality between different content sections.

Properties

General Properties

Visual Properties

Event Actions Properties

Authorization Properties

Visibility Properties

Testing Hooks Properties

Button Events

Each button in the Content Switch component can trigger the following event type:

Example Usage Scenarios

  1. Tab Navigation: Create a set of tabs to switch between different views in a single page application.

  2. Form Wizard: Implement step indicators for multi-step forms, showing the current step and allowing navigation between completed steps.

  3. View Toggles: Create buttons to switch between different visualization modes, such as "Grid View" vs "List View".

  4. Language Selector: Implement a language selection interface with buttons for each supported language.

Technical Details

When a button is clicked, the component:

  1. Visually activates the selected button
  2. Executes any actions configured for the ONCONTENTSWITCH_CLICK event for that specific button
  3. Can update the context with the selected button's ID if properly configured in those actions

The component can also automatically select a button on initialization if the activeButtonIndicator property is set and a matching value is found in the context.