Flexi Kanban
  • Introduction
    • πŸ“ƒAbout Flexi Kanban
    • βš–οΈFlexi Kanban in Comparison with Other
    • πŸ“˜What are Kanbans?
    • πŸ“•User's Guide to the Kanban Boards
  • Standard Dashboard
    • πŸš€Getting started
      • How to Build a Simple Kanban Using Creation Wizard Abilities
      • Demo Example: Task Dashboard
      • Demo Example: Events Dashboard
      • Demo Example: Opportunities Dashboard
      • Demo Example: Gantt Dashboard
      • Demo Example: Cases Dashboard
    • πŸ“Basics
      • How to Create Standard Dashboard
      • How to Create Child Dashboard
      • How to Incorporate Child Dashboard into Lightning Page
      • How to Open Dashboard in builder (Edit)
      • How to Share Dashboard
      • How to Clone Dashboard
    • πŸ—οΈConfigure Dashboard
      • Working with Dashboard Layout
      • How to Configure Dashboard Basic Properties
      • How to Configure Dashboard Filters
      • How to Add Dashboard Statistics
      • How to Configure Variables
      • How to Configure Events
      • How to add Dashboard Buttons and Menus
    • πŸ™οΈConfigure Column
      • How to Π‘onfigure Column Properties
      • How to Set Column Groups
      • How to Set and Use Column Custom Attributes
      • How to configure Column Data Source
      • How to work with Related Objects
      • How to configure Column Header
      • How to configure Column Body
      • How to configure Column Footer
      • How to configure Column Container and Filters
    • 🎫Configure Card
      • How to configure Card Properties
      • How to configure Card Data Source and Conditions
      • How to configure Card Compact Layout
      • How to configure Card Layout
      • How to configure and use Card Custom Attributes
      • Configuring Card Movement and Column Junctions
      • Configuring Card Actions
    • πŸ“šGroups of Cards
      • How to configure Card Grouping
    • πŸ”§Tools
      • Using Merge Field Picker
      • Using Formula Editor
      • Configuring CSS styles
      • Configuring Rows, Cells, Menus and Buttons
      • Configuring Handlers
    • πŸ‘“Using Dashboard
      • How to use Kanban API actions
      • How to Incorporate Dashboard into Lightning Page
      • How to build the link to the Dashboard
      • How to Work with Variables
      • How to debug Dashboard
      • How to Work with Filters and Orders
    • ✨Howtos and Best Practices
      • How to configure communication between Dashboards
      • How to configure communication between Dashboard and Form
      • How to display different layouts for the same kanban card
      • How to design kanban for your needs
        • How to colorize cards
        • How to add a quick-filter column
      • What inactive column can be used for
      • Tips and Tricks
  • Composite Dashboard
    • πŸ—„οΈIntroduction
      • πŸ”§How to Create a Composite Dashboard
    • πŸͺ›Working with Composite Dashboard Layout
      • Configuring Parent Dashboard
      • Configuring Child Dashboard
    • πŸ–‡οΈConnections Between Dashboards
    • πŸ”¬Examples
      • !! Calendar Dashboard
    • πŸ₯‡Howtos and Best Practices
      • How to Pass Variables Between Parent and Child Dashboards
  • Components
    • πŸ“‹Forms
      • πŸ“‘Basics
        • Form Building Overview
        • Working with Form Settings
        • Working with Source Object fields
        • How to Preview the Form
        • How to configure the Form Sharing Rules
        • Understanding the Form Dependencies
        • Working with Conditional Styles
        • Working with Conditions
        • Search Over the Form
      • πŸͺ›Tools
        • Variables
        • Additional Fields
        • Context Object
        • Form Action
        • Event
      • Components
        • Add and Remove Form Components
        • Components Basic Properties
        • Components Validation Rules
        • Styling Form and Form Components
        • String Field
        • Text Area Field
        • Rich Text Field
        • Lookup Field
        • Date Field
        • Datetime Field
        • Time Field
        • Number Field
        • Currency Field
        • Multi-Select Field
        • Picklist Field
        • Option: Section
        • Option: Static Text
        • Option: Image
        • Option: Blank Space
        • Option: File
        • Option: Custom Button
        • Option: Custom URL
        • Option: Nested Form
        • Option: Lightning Component
        • List. Related Lists.
      • Using Form
        • How to incorporate Form into the Lightning Page
        • How to incorporate Form into Screen Flow
        • How to build the link to the Form
        • (unpublished, empty)How to incorporate Form into the Lightning Component
        • How to run Form Action from Lightning Component
      • Tricks, Hints and Best Practices
        • How to configure communication between Forms
        • How to pre-populate form fields
        • Deployment of Forms
        • What Are Parameters?
    • 🀾Actions/Action Groups
      • Basics
        • Working with Actions
        • Working with Action Groups
        • Working with Functions
        • Working with Context objects
        • Working with Conditions
      • Types
        • Validation Rule Action
        • Define Variable Action
        • Create Record Action
        • Update Records Action
        • Delete Records Action
        • Send Email Action
        • Callout Action
        • Execute Apex Action
        • KanBan API Action
      • Using Actions
        • !!unpublished empty!! How to execute Action/Group from the SF Process/Flow Builder
        • How to execute Action/Group through the REST api
        • !!unpublished empty!! How to execute Action/Group from the Einstain Bot
        • !!unpublished empty !! How to execute Action/Group from APEX
      • Best Practices
        • !! How to use Execute in background option
        • !! Deployment Actions/Action Groups
  • πŸ“–References
    • βš™οΈApplication Settings
    • ♾️Functions
      • SObject
      • Text
      • Logical
      • Numeric
      • Date and Time
      • JSON
      • System
      • Charts
    • πŸ—ƒοΈQuery Conditions
    • Apex Data Provider
    • πŸ“How to add a Kanban to Navigation Items Panel
    • πŸ‘₯Manage Licenses
    • πŸͺͺAssign Permission Sets
    • πŸ“¦Deployment
      • Deploying Using Standard Credentials
      • Deploying Using Connected App Authentication
      • How to configure the Salesforce Connected Application for Flexi Kanban deployment
  • Grant Login Access to Support
  • Subscription Plans
  • Support Agreement
  • Access License Agreement
  • Privacy Policy
Powered by GitBook
On this page
  • Old View Configurator
  • New View Configurator
  • Handler Types
  1. Standard Dashboard
  2. Tools

Configuring Handlers

Last updated 6 months ago

Handlers are way to make a dashboard interactive and to do many other useful things. They can:

  • Show object details

  • Display a form or component

  • Navigate to web page (internal or external)

  • Execute actions and action groups

  • Make changes in Kanban layout

  • Launch custom events

Handlers can return results of Success and Error types.

These Successes and Errors can have their own handlers, and this allow user to trigger chains of handlers.

Handlers can be set to dashboard elements user can interact with:

  • Card layout elements

Handlers can be set in two views of configurator: old and new.

Old View Configurator

The old view is commonly used. To show it go to proper element (e.g., cell) and click "Configure Handler" button or go to element (e.g., button) editor and switch to Handler Configuration tab:

In both cases the handler editor will be shown:

Select handler type in the "Type" picklist. Depending on your selection other columns in handlers editor will contain different fields and elements.

See "Handler Types" section below to view configuring of different types of handlers.

New View Configurator

This view is available for some elements (e.g., Card Components). Go to proper element and expand "Handler" section. Click "Edit Handler" button:

Created Handler could be copied to other elements of card by using Copy/Paste buttons

The handler editor will appear in popup. By default it will contain nothing. Select handler type in the "Type" picklist. Depending on your selection different fields and elements will appear next to it:

Not all types of handlers can return an error. These handler types will display no "Add Error handler" button.

Handler Types

Form

This type of handler when triggered will show a window with specified form. To configure it:

  • Select "Form" in the "Type" field in configurator

  • Select necessary form in the "Value" lookup or click "Add New From" button to open form builder

  • Select if form will be opened in the same browser window or in the new one

  • Click "Parameters" button to configure parameters or paste correct JSON with parameters into textarea

Form have 2 default parameters that should be set:

  • Mode ("edit", "new" or "view") - specifies how form should be shown

  • id - specifies source record ID which data will be taken to populate form and further work with (not necessary for "New" mode)

Click ">>" button to open parameters builder. Click "Add" link to add more parameters and specify them:

Form API

This type of handler when triggered will call specified API method of open form. To configure it:

  • Select "Form API" in the "Type" field in configurator

  • Select necessary method in the "Value" lookup (e.g., "Execute Action")

  • Click "Parameters" button to configure parameters or paste correct JSON with parameters into textarea

Form API handler has no default parameters. Required parameters are determined by selected API method (e.g., "Execute Action" method needs id of the form and action name):

Note: you need to know Form API methods from your system administrator.

Visualforce Page

This type of handler when triggered will navigate you to the specified Visualforce Page from current organization (in new browser tab). To configure it:

  • Select "Visualforce Page" in the "Type" field in configurator

  • Select necessary Visualforce Page in the "Value" lookup

  • Select if Visualforce Page will be opened in the same browser window or in the new one

  • Click "Parameters" button to configure parameters or paste correct JSON with parameters into textarea

Visualforce page has no default parameters:

URL

This type of handler when triggered will navigate you to the specified web page (in new browser tab). To configure it:

  • Select "Url" in the "Type" field in configurator

  • Type necessary URL in the "Value" text input

  • Select if URL will be opened in the same browser window or in the new one.

  • Click "Parameters" button to configure parameters or paste correct JSON with parameters into textarea.

URL has no default parameters:

  • Only relative URLs (pages on the same server) can be opened in the same window. External URLs are always opened in the new window due to security reasons.

  • You should provide a full URL with network protocol prefix. Without it system will treat URL as relative.

Lightning Component

This type of handler when triggered will display the Lightning Component. To configure it:

  • Select "Lightning Component" in the "Type" field in configurator

  • Select a component in the "Value" lookup

  • Click "Parameters" button to configure parameters or paste correct JSON with parameters into textarea

Lightning Component has no default parameters:

SObject

This type of handler when triggered will open the page with object specified by its ID. To configure it:

  • Select "SObject" in the "Type" field in configurator

  • Type ID or API Name(in case of new record) of the SObject in the "Value" text input. Any object is allowed - system will show its details in the same page

  • Click "Parameters" button to configure parameters or paste correct JSON with parameters into textarea

SObject has no default parameters:

Action / Action Group

This type of handler when triggered will execute the specified action or action group. To configure it:

  • Select "Action" or "Action Group" in the "Type" field in configurator

  • Select an action or action grroup in the "Value" lookup or click "Add New..." button to create new action or action group in the other browser tab

  • Click "Parameters" button to configure parameters or paste correct JSON with parameters into textarea

Action or action group can have different parameters. There are 2 default parameters pre-defined (but not mandatory):

  • source - provide the ID of the record that will be a source of action data

  • variables - provide initial variables with their values in JSON format (like {"variable1":"value1","variable2":"value2"})

The action or action group can be executed successfully or with error. To do something with these results additional handlers can be added to action / action group success and error. Handlers can be added several times and form a chain - this is a simple way to program complex behavior. To remove an additional handler click "Delete Handler" button:

You can re-order handlers. Exchange positions of neighbor handlers by moving them with arrow buttons.

Note: If handler that can not have child handlers becomes parent, it will loose all children.

Kanban API

This type of handler when triggered will call the specified method of Kanban API that add some interactivity. To configure it:

  • Select "Kanban API" in the "Type" field in configurator

  • Select a Kanban API method in the "Value" picklist

  • Click "Parameters" button to configure parameters or paste correct JSON with parameters into textarea

Kanban API methods do their specific actions and return successful result. This result can have an additional handler. Add this handler by clicking "Add Success Handler" button and configure it (and next-level handlers, if needed) in the same way as for Action / Action Group handler.

Fire Event

This type of handler when triggered will launch specified event. To configure it:

  • Select "Fire Event" in the "Type" field in configurator

  • Click "Parameters" button to configure parameters or paste correct JSON with parameters into textarea

To learn more about Kanban API methods refer to the .

Type event value in the "Value" field ()

πŸ”§
"Kanban API" article
refer to Force events documentation
Cells and buttons
Drawing
Drawing
Drawing
Drawing
Drawing
Drawing
Drawing
Drawing