What is the Case Button component?
The Case Button is a Case component that can be added to a Case Template. Cases that are created from this Case Template provide reviewers with an an interactive element. When users click it, it can trigger a Case Action. You can also customize the component's appearance, function, and define logic that governs when it appears.
A Case Button is often used to trigger Case Actions such as editing multiple fields on the Case or creating additional Reports.
How do you add a Case Button component?
- Navigate to the Dashboard, and click on Cases > Templates.
- Find and click on the Case template you want to edit, or Create a new template.
- Navigate to the Tab you want to add a Case component to. Click an empty space to view the Component Library.
- In the right toolbar, search for ‘Button.’
- Drag and drop the Button component into your Case UI and reposition it by dragging it around.
- Click on the Button. On the right toolbar, you can customize the Button component:
- Under Settings > Name, you can change the text displayed on the Button.
- Under Settings > Action, you can change the action the Button completes when clicked.
- Under Styling, you can set the Button color
- Default: The most common button style (Gray)
- Primary: To highlight important actions. (Blue)
- Critical: For actions that will delete data or be difficult to recover from. (Red)
- Under Module Layout, you can change:
- Dynamic height toggle: Module will grow or shrink to fit its contents.
- Visibility toggle: Dynamically control whether the module is hidden. This is a toggle button that lets you set conditions for when the button should be displayed or hidden from view based on your case requirements. If you toggle this on you will have two options to customize visibility.
1. **Basic** visibility allows you to set rules on the **Button** to determine when it will be visible. You can read more about **Visibility Configuration** below.
2. **Advanced** visibility allows you to set logic to control when the **Button** is enabled or disabled based on custom conditions. Click on the Code block to add more conditions.
This feature is intended for advanced users who need fine-tuned control over Button behavior. If you need assistance configuring these options, please reach out to your Persona point of contact for guidance on setup and best practices. 5. Under Advanced Options > Module Enablement, you can define custom control conditions that determine when the Button is enabled or disabled. Click on the Code block to add more conditions.
This feature is intended for advanced users who need fine-tuned control over Button behavior. If you need assistance configuring these options, please reach out to your Persona point of contact for guidance on setup and best practices.
- Click the “Delete” button if you want to remove the component from the Case UI.
Visibility Configuration
Visibility configuration consist of three main components:
- Field: The object that will have a condition linked to it.
- Condition: How the field is compared to the value (e.g., equals, does not equal).
- Value: The value to test against.
Creating Visibility Configuration
- AND Statements: Combine multiple conditions that must all be true for the rule to pass. Add these using the "Add" button.
- OR Groups: Combine conditions where only one needs to be true for the rule to pass. Create these by clicking "Add OR Group".
How to Use Visibility Configuration
- Click on the Button component, and go to Module Layout and toggle the button next to Visibility in the right toolbar.
- Click on “Empty rule” to see Visibility Configuration.
- Create a logical rule by filling in the three boxes following Show if, which correspond to an object, its condition, and its value being assessed, respectively. When that logical rule passes, the Button is shown.
- (Optional) Add additional logical rules by clicking either ”Add” (if you want to add 'AND' rules, where all must be passed to continue) or ”Or group” (if you can also nest a group of OR statements within an AND statement).
Plans Explained
Case Button component by plan
Startup Program | Essential Plan | Growth Plan | Enterprise Plan | |
---|---|---|---|---|
Case Button component | Limited | Limited | Available | Available |