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
  • Create Actions and Actions Group
  • Create new dashboard
  • Configure dashboard
  • Configure Columns
  • Configure Card
  1. Standard Dashboard
  2. Getting started

Demo Example: Events Dashboard

Last updated 6 months ago

The Event Dashboard represents events and allows user to view events schedule and manage them. Here is how such dashboard can look like:

To make this dashboard administrator should do actions listed below:

Create Actions and Actions Group

  1. Action name = Get Previous Month Variable name = currentDate Variable value = FORMULA[FORMAT(ADDMONTHS(DATEVALUE({$Variables.currentDate}), -1), 'yyyy-MM-dd')]

  2. Action name = Get Next Month Variable name = currentDate Variable value = FORMULA[FORMAT(ADDMONTHS(DATEVALUE({$Variables.currentDate}), 1), 'yyyy-MM-dd')]

  3. Action name = Update Week 1 Start Variable Variable name = week1Start Variable value = FORMULA[STARTOFWEEK(DATEVALUE(FORMAT({$Variables.currentDate}, 'yyyy-MM-01')))]

  4. Action name = Update Week 2 Start Variable Variable name = week2Start Variable value = FORMULA[STARTOFWEEK(DATEVALUE(FORMAT({$Variables.currentDate}, 'yyyy-MM-01'))) + 7]

  5. Action name = Update Week 3 Start Variable Variable name = week3Start Variable value = FORMULA[STARTOFWEEK(DATEVALUE(FORMAT({$Variables.currentDate}, 'yyyy-MM-01'))) + 14]

  6. Action name = Update Week 4 Start Variable Variable name = week4Start Variable value = FORMULA[STARTOFWEEK(DATEVALUE(FORMAT({$Variables.currentDate}, 'yyyy-MM-01'))) + 21]

  7. Action name = Update Week 1 Variable Variable name = week1 Variable value = FORMULA[FORMAT(STARTOFWEEK(DATEVALUE(FORMAT(DATEVALUE({$Variables.currentDate}), 'yyyy-MM-01'))), 'dd/MM/yyyy') + ' - ' + FORMAT(STARTOFWEEK(DATEVALUE(FORMAT(DATEVALUE({$Variables.currentDate}), 'yyyy-MM-01'))) + 6, 'dd/MM/yyyy')]

  8. Action name = Update Week 2 Variable Variable name = week2 Variable value = FORMULA[FORMAT(STARTOFWEEK(DATEVALUE(FORMAT(DATEVALUE({$Variables.currentDate}), 'yyyy-MM-01'))) + 7, 'dd/MM/yyyy') + ' - ' + FORMAT(STARTOFWEEK(DATEVALUE(FORMAT(DATEVALUE({$Variables.currentDate}), 'yyyy-MM-01'))) + 13, 'dd/MM/yyyy')]

  9. Action name = Update Week 3 Variable Variable name = week3 Variable value = FORMULA[FORMAT(STARTOFWEEK(DATEVALUE(FORMAT(DATEVALUE({$Variables.currentDate}), 'yyyy-MM-01'))) + 14, 'dd/MM/yyyy') + ' - ' + FORMAT(STARTOFWEEK(DATEVALUE(FORMAT(DATEVALUE({$Variables.currentDate}), 'yyyy-MM-01'))) + 20, 'dd/MM/yyyy')]

  10. Action name = Update Week 4 Variable Variable name = week4 Variable value = FORMULA[FORMAT(STARTOFWEEK(DATEVALUE(FORMAT(DATEVALUE({$Variables.currentDate}), 'yyyy-MM-01'))) + 21, 'dd/MM/yyyy') + ' - ' + FORMAT(STARTOFWEEK(DATEVALUE(FORMAT(DATEVALUE({$Variables.currentDate}), 'yyyy-MM-01'))) + 27, 'dd/MM/yyyy')]

  1. name = Get Previous Month Action Group

  • actions:

    1. Get Previous Month

    2. Update Week 1 Start Variable

    3. Update Week 2 Start Variable

    4. Update Week 3 Start Variable

    5. Update Week 4 Start Variable

    6. Update Week 1 Variable

    7. Update Week 2 Variable

    8. Update Week 3 Variable

    9. Update Week 4 Variable

  1. name = Get Next Month Action Group

  • actions:

    1. Get Next Month

    2. Update Week 1 Start Variable

    3. Update Week 2 Start Variable

    4. Update Week 3 Start Variable

    5. Update Week 4 Start Variable

    6. Update Week 1 Variable

    7. Update Week 2 Variable

    8. Update Week 3 Variable

    9. Update Week 4 Variable

Create new dashboard

  • Give it a name and description.

  • Select default "White" theme.

  • Save dashboard and go to Kanban builder.

Configure dashboard

  • Add the cell and set these properties to it:

    • Type = Text

    • Value = FORMULA[FORMAT({$Variables.currentDate}, 'MMMM, yyyy')]

  • Set CSS Styles to this cell:

font-size: 24px

Button "Previous Month":

  • Type = Action Group

  • Value = Get Previous Month Action Group (that was created before)

  • Parameters = not set

  • Success handler:

    • Type = KanBan API

    • Value = Refresh Kanbans

    • Parameters = not set

Button "Next Month":

Configure handler of this button:

  • Type = Action Group

  • Value = Get Next Month Action Group (that was created before)

  • Parameters = not set

  • Success handler:

    • Type = KanBan API

    • Value = Refresh Kanbans

    • Parameters = not set

Button "New Event":

Configure handler of this button:

  • Type = SObject

  • Value = Event

  • Parameters = not set

  1. currentDate = {$System.Date}

  2. week1 = FORMULA[FORMAT(STARTOFWEEK(DATEVALUE(FORMAT({$System.Date}, 'yyyy-MM-01'))), 'dd/MM/yyyy') + ' - ' + FORMAT(STARTOFWEEK(DATEVALUE(FORMAT({$System.Date}, 'yyyy-MM-01'))) + 6, 'dd/MM/yyyy')]

  3. week1Start = FORMULA[STARTOFWEEK(DATEVALUE(FORMAT({$System.Date}, 'yyyy-MM-01')))]

  4. week1End = FORMULA[STARTOFWEEK(DATEVALUE(FORMAT({$System.Date}, 'yyyy-MM-01'))) + 6]

  5. week2 = FORMULA[FORMAT(STARTOFWEEK(DATEVALUE(FORMAT({$System.Date}, 'yyyy-MM-01'))) + 7, 'dd/MM/yyyy') + ' - ' + FORMAT(STARTOFWEEK(DATEVALUE(FORMAT({$System.Date}, 'yyyy-MM-01'))) + 13, 'dd/MM/yyyy')]

  6. week2Start = FORMULA[STARTOFWEEK(DATEVALUE(FORMAT({$System.Date}, 'yyyy-MM-01'))) + 7]

  7. week2End = FORMULA[STARTOFWEEK(DATEVALUE(FORMAT({$System.Date}, 'yyyy-MM-01'))) + 13]

  8. week3 = FORMULA[FORMAT(STARTOFWEEK(DATEVALUE(FORMAT({$System.Date}, 'yyyy-MM-01'))) + 14, 'dd/MM/yyyy') + ' - ' + FORMAT(STARTOFWEEK(DATEVALUE(FORMAT({$System.Date}, 'yyyy-MM-01'))) + 20, 'dd/MM/yyyy')]

  9. week3Start = FORMULA[STARTOFWEEK(DATEVALUE(FORMAT({$System.Date}, 'yyyy-MM-01'))) + 14]

  10. week3End = FORMULA[STARTOFWEEK(DATEVALUE(FORMAT({$System.Date}, 'yyyy-MM-01'))) + 14]

  11. week4 = FORMULA[FORMAT(STARTOFWEEK(DATEVALUE(FORMAT({$System.Date}, 'yyyy-MM-01'))) + 21, 'dd/MM/yyyy') + ' - ' + FORMAT(STARTOFWEEK(DATEVALUE(FORMAT({$System.Date}, 'yyyy-MM-01'))) + 27, 'dd/MM/yyyy')]

  12. week4Start = FORMULA[STARTOFWEEK(DATEVALUE(FORMAT({$System.Date}, 'yyyy-MM-01'))) + 21]

  13. week4End = FORMULA[STARTOFWEEK(DATEVALUE(FORMAT({$System.Date}, 'yyyy-MM-01'))) + 27]

Configure Columns

  • Name them (see table below)

  • Leave column width default ("auto")

  • Leave column "Is Active" checkbox default (checked)

    • Data Source Type = SObject

    • Data Source = Event

    • Set the following conditions to the proper columns (select Type = "Formula" in all):

  1. Column name = {$Variables.week1} Condition 1: Start Date Time > FORMULA[STARTOFWEEK(DATEVALUE(FORMAT({$Variables.currentDate}, 'yyyy-MM-01')))]T00:00:00Z Condition 2: Start Date Time < FORMULA[STARTOFWEEK(DATEVALUE(FORMAT({$Variables.currentDate}, 'yyyy-MM-01'))) + 7]T00:00:00Z

  2. Column name = {$Variables.week2} Condition 1: Start Date Time > FORMULA[STARTOFWEEK(DATEVALUE(FORMAT({$Variables.currentDate}, 'yyyy-MM-01'))) + 7]T00:00:00Z Condition 2: Start Date Time < FORMULA[STARTOFWEEK(DATEVALUE(FORMAT({$Variables.currentDate}, 'yyyy-MM-01'))) + 14]T00:00:00Z

  3. Column name = {$Variables.week3} Condition 1: Start Date Time > FORMULA[STARTOFWEEK(DATEVALUE(FORMAT({$Variables.currentDate}, 'yyyy-MM-01'))) + 14]T00:00:00Z Condition 2: Start Date Time < FORMULA[STARTOFWEEK(DATEVALUE(FORMAT({$Variables.currentDate}, 'yyyy-MM-01'))) + 21]T00:00:00Z

  4. Column name = {$Variables.week4} Condition 1: Start Date Time > FORMULA[STARTOFWEEK(DATEVALUE(FORMAT({$Variables.currentDate}, 'yyyy-MM-01'))) + 21]T00:00:00Z Condition 2: Start Date Time < FORMULA[STARTOFWEEK(DATEVALUE(FORMAT({$Variables.currentDate}, 'yyyy-MM-01'))) + 28]T00:00:00Z

    • Select Cards in Row = 1

    • Configure CSS Styles:

background-color: FORMULA[IF(STARTOFWEEK({$Variables.week1start})
 = STARTOFWEEK({$System.Date}), '#feffea', '#ffffff')]

Configure Card

  • Set Data Source Type to "Event"

Basic configuration:

  • Layout body type = Standard

  • Position = right

  • All checkboxes = false

Header configuration:

  • Title settings:

    • Text = {Event.Subject}

Footer configuration:

  • Add button "Open Event":

Configure handler of this button:

  • Type = SObject

  • Value = {Event.Id}

  • Parameters = not set

Add tab to Tabs configuration:

  • Label = Details

  • Title = Details

  • Icon = standard:lead_list

  • Layout = Standard with 5 rows:

#
Label
Value

1

Type

Type

2

Assigned To

Account ID:Account Name

3

Start Date Time

Start Date Time

4

Duration

Duration

5

Location

Location

  • add CSS Styles to the card settings (1):

background-color: #ffffff
border-left: 3px solid #15db00
  • Change the Value of default existing Card Component to {Event.Subject} (2).

  • Set its width to 100 (leave default)

  • Expend "Styles" section and set the following:

text-decoration: underline
color: #006dcc
display: contents
flex: initial
  • Add text component (3) below the previous

  • Set its Value and Title to {Event.Who.Name}

  • Leave its width default (100)

  • Add text component (4) below

  • Set its value to FORMULA[FORMAT({Event.StartDateTime})]

  • Set its Title to {Event.StartDateTime}

  • Leave its width default (100)

Create the following of "Define Variable" type. Set Variable Type to Text in all actions:

Create 2 and add actions from configured above to them (in the order specified below):

Go to and create new standard dashboard.

Go to and set icon:

Go to .

Go to and add 3 buttons:

Configure of this button:

Go to and add these variables:

Add to the dashboard.

Set these properties to :

Open tab:

to dashboard

Set :

Open editor :

πŸš€
Actions
dashboard creation wizard
Basic Configuration
Statistics Configuration
Buttons Configuration
Variables Configuration
4 columns
Body Configuration
Add 1 card
card layout
Card Compact Layout
Data Source Configuration
Action Groups
handler
Drawing
Drawing
Drawing
Drawing
Drawing
Drawing
Drawing
Drawing