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
  • Show Message
  • Refresh Kanbans
  • Update Variables
  • Print Kanban
  • Navigate to Kanban
  • Show/Hide Kanban
  • Full Screen
  • Refresh Columns
  • Show / Hide Columns
  • Refresh Card
  • Refresh Card Layout
  • Show Card Layout
  • Hide Card Layout
  • Refresh cell
  • Update cell
  1. Standard Dashboard
  2. Using Dashboard

How to use Kanban API actions

Last updated 1 month ago

Kanban API methods are used to make visual changes in Kanban layout, show messages and work with variables.

Show Message

This method will execute this action:

  • Show a notification message over the current Kanban

This method will NOT:

  • Affect any variables

  • Affect any other Kanban elements

  • Refresh the web page

This methods accepts the following parameters:

  • Name = "type" Value = one of the following designs:

"error":

"warning":

"success":

"info":

This parameter is optional; if omit it, the message type will be "info" by default

  • Name = "title" Value = any text (with merge fields or formulas, if needed), that will be used as message header This parameter is optional; if you omit it, system will just show a message without header

  • Name = "body" Value = any text you want to show in the message body This parameter is required

  • Name = "mode" Value = one of the following:

    • "pester" - the message will automatically disappear after some time (5 seconds by default); it has no "close" button, so user can't dismiss it before time set in Kanban configuration

    • "dismissible" - the same as "pester", but user can close the message manually earlier than show time will expire

    • "sticky" - the message will not disappear until user close it manually

This parameter is optional; if omit it, the mode will be "dismissible" by default

  • Name = "duration" Value = time duration of message show (in seconds) This parameter is optional and used only for messages with "pester" and "dismissible" modes; if omit it, message will disappear in 5 seconds.

Refresh Kanbans

This method forces the specified Kanbans be refreshed.

This method will execute this action:

  • Reload Kanban contents including all columns, cards, top menus and buttons

This method will NOT:

  • Reset Kanban variables (and this allow user to re-initiate Kanban with other data)

  • Refresh the web page where Kanban is inserted into

This method accepts the following parameters:

  • Name = "kanbans" Value = Kanban IDs or names separated by comma or in JSON array format This parameter is optional - if do not set it, the method will refresh the current Kanban

Kanban ID of current kanban is available as {$KanBan.Id} merge field. IDs of other kanbans should be known - taken from URL or selected in Merge Field Picker.

Update Variables

This method will execute this action:

  • Update Variables with specified names in all kanbans from the specified list (if some variable does not exist, it will be created)

This method will NOT:

  • Affect any other Kanban elements

  • Refresh the web page

This method accepts the following parameters:

  • kanbans = list of Kanban IDs or names separated by comma or in JSON format ({"key":"value"}).

  • variables = variables and their values in JSON format

If it is needed to calculate formulas at the time of the event, an Action/Action Group type of handler should be used instead and variables should be defined there.

Print Kanban

This method will execute this action:

  • Print specified Kanban page

This method accepts the following parameters:

  • kanbanId = ID of Kanban to print This parameter is optional

Navigate to Kanban

This method will execute this action:

  • Open other specified Kanban page

This method accepts the following parameters:

  • kanbanId = ID of Kanban to open

  • filters = initial filters in JSON format

Show/Hide Kanban

These methods will execute this action:

  • Show / hide the specified kanban in the current composite Kanban

These methods will NOT:

  • Affect any variables

  • Affect any other Kanban elements except recalculation of other kanban widths

  • Refresh the web page

  • Change layout state (hide or show)

These methods accept the following parameter:

  • Name = "kanbans" Value = Kanban Junction IDs or API names separated by comma or in JSON array format This parameter is required

In the context of this action Kanban Junctions are the same as child kanbans.

Full Screen

This method forces the specified Kanban view be full screen.

This method will execute this action:

  • Change standard view to full screen of specified Kanban

This method will NOT:

  • Affect any variables

  • Refresh the Kanban containing specified column

  • Refresh the web page

This method accepts the following parameters:

  • Name = "fullscreen" Value = "true" or "false" This parameter is required

Refresh Columns

This method forces the specified Kanban columns be refreshed.

This method will execute this action:

  • Reload specified column(s) contents including all cards

This method will NOT:

  • Affect any variables

  • Refresh the Kanban containing specified column

  • Refresh the web page

This method accepts the following parameters:

  • Name = "columns" Value = Kanban columns IDs or names separated by comma or in JSON array format This parameter is required

Show / Hide Columns

These methods will execute this action:

  • Show / hide the specified column in the current Kanban

These methods will NOT:

  • Affect any variables

  • Affect any other Kanban elements except recalculation of other columns widths

  • Refresh the web page

  • Change layout state (hide or show)

These methods accept the following parameters:

  • Name = "columns" Value = Kanban columns IDs or names separated by comma or in JSON array format This parameter is required

Refresh Card

This method forces the currently selected card (in column) in the specified Kanban be refreshed.

This method will execute this action:

  • Reload card contents

This method will NOT:

  • Affect any variables

  • Refresh any other Kanban elements

  • Refresh the web page

This method accepts the following parameters:

  • Name = "kanbans" Value = ID of Kanban where card should be refreshed in (useful for composite kanbans) This parameter is optional - if do not set it, the method will refresh the card in the current Kanban

  • Name = "columns" Value = ID of Columns where card should be refreshed in This parameter is optional - if do not set it, the method will refresh the card in all columns

  • Name = "recordId" Value = record ID to specify which card should be refreshed in This parameter is optional

Refresh Card Layout

This method forces the currently selected card layout (in sidebar or popup) in the specified Kanban be refreshed.

This method will execute this action:

  • Reload card layout contents including all tabs and buttons

This method will NOT:

  • Affect any variables

  • Refresh any other Kanban elements

  • Refresh the web page

  • Change layout state (hide or show)

This method accepts the following parameters:

  • Name = "kanbanId" Value = ID of Kanban where card layout should be refreshed in (useful for composite kanbans) This parameter is optional - if do not set it, the method will refresh the card layout in the current Kanban

Show Card Layout

This method will execute this action:

  • Show the specified record card layout (in the sidebar or popup) in the current Kanban

This method will NOT:

  • Affect any variables

  • Affect any other Kanban elements

  • Refresh the web page

Theis method accepts the following parameters:

  • Name = "recordId" Value = ID of the record which is represented in the specified column by some card This parameter is required

  • Name = "columnId" Value = ID of the column which selected record card is shown in This parameter is required

What this can be useful for? Different columns in the Kanban can show cards for the same record (e.g., when one record matches conditions of more than one columns). And cards with different layouts and components can be configured for the same object. Thus, same record can be represented with different layouts depending on column its card is shown in. In this case system should know which layout should be shown - and it is possible only if provide not only Record ID but Column ID too.

Hide Card Layout

This method will execute this action:

  • Hide the shown card layout (sidebar or popup) from the current Kanban

This method will NOT:

  • Affect any variables

  • Affect any other Kanban elements

  • Refresh the web page

This method accepts the following parameters:

  • Name = "kanbanId" Value = ID of the Kanban where card layout should be hidden from This parameter is optional; if omit it, a card layout will be hidden from the current Kanban

Refresh cell

This method forces the specified cell(s) be refreshed in the specified column(s) and card(s) of Kanban.

This method will execute this action:

  • Reload specified cell(s) contents

This method will NOT:

  • Affect any variables

  • Refresh the Kanban or column

  • Refresh the web page

This method accepts the following parameters:

  • Name = "Column Id" Value = column ID where card cell(s), column cell(s), should be refreshed in This parameter is optional

  • Name = "Record Id" Value = record ID to specify which card cell(s) should be refreshed in This parameter is optional

Update cell

This method forces the specified cell(s) be updated in the specified column(s) and card(s) of Kanban.

This method will execute this action:

  • Update specified cell(s) contents

This method will NOT:

  • Affect any variables

  • Affect any other Kanban elements

  • Refresh the web page

This method accepts the following parameters:

  • Name = "Column Id" Value = column ID where card cell(s), column cell(s), should be updated in This parameter is optional

  • Name = "Record Id" Value = record ID to specify which card cell(s) should be updated in This parameter is optional

  • Name = "Value" Value = the cell(s) value that should be updated This parameter is required

  • Name = "Title" Value = the cell(s) title that should be updated This parameter is optional

  • Name = "Styles" Value = the cell(s) styles in CSS format that should be updated This parameter is optional

variables = initial variables and their values in JSON format. This works in the same way as on

Name = "Cell Id" Value = This parameter is required

Name = "Cell Id" Value = This parameter is required

πŸ‘“
Input Variables
Composite Kanban
cell ID
cell ID