LogoLogo
HomepageYouTube ChannelInstall from the AppExchange
  • Home
  • Dynamic Components
  • Flow Components
  • Experience Components
  • Projects
  • 👋Welcome
  • Getting Started
    • Product Tour
    • Quickstart Guide
    • Learn the Basics
    • Installation & Licenses management
    • Flow vs. Dynamic Components
    • Integrating with Experience Cloud
  • Tutorials
    • Videos
    • Projects Tutorials
    • Components Tutorials
      • Alert
        • Create a custom branding alert
        • Create an error alert dismissible
      • Avatar
        • Create an avatar with actions
        • Create an avatar with details
      • Avatar Group
        • Display a list of contacts related to an account
        • Display a list of sharing users related to the record
      • Barcode
        • Generating and Displaying Barcodes for Product Codes
      • Biometrics
        • 101 Tutorial
      • Button
        • Customizing Flow Navigation Buttons
        • How to Add a "Cancel and Close" Button
        • How to Open Flows from Buttons
      • Button Groups
        • Identifying Clicked Buttons
      • Button Menu
        • How to change dynamically Avonni Button Menu Icons
      • Calendar
        • Calendar 101 Tutorial
        • How to Connect Multiple Data Sources to the Avonni Calendar
        • How to Customize Time Spans
        • How to Customize the Right-Click Menu
        • How to Add an Edit Action to Events
        • How to Add a New Event Button to the Avonni Calendar Header
        • How to Create Events by Dragging in the Avonni Calendar
        • How to Reschedule Events with Drag and Drop
        • How to Color-Code Calendar Entries in the Avonni Calendar
        • Using a variable Data Source
        • Using a Query Data Source
      • Carousel
        • Build a Related Products Carousel
      • Combobox
        • Implement Dependent Picklists in Comboboxes
        • How to Dynamically Enable/Disable Dependent Picklists
        • Using Multi-Select Comboboxes with Reactive Formulas
      • CSV Parser
        • 101 Tutorial
      • Data Table
        • Adding Filters
        • How to add Images onthe Data Table
        • Creating Row Actions
        • Displaying a Record as a QR Code
        • Displaying Record Name field as a link
        • Learn the Basics
        • Making a field editable
        • Setting Up Data Export
        • Tips and Tricks
          • Activate infinite scrolling
          • Creating an action from a button or a link
          • Customizing the Badge Color using a formula
          • How to Grayscale Header Actions Dynamically in Avonni Data Table
          • How to Conditionally Color Cells
          • Enabling auto-refresh on the Data Table when pressing a button
          • Handling formula text field
          • How to set column visibity
          • Passing multiple record IDs to another flow
          • Data Table Editor
      • Date Picker
        • Display a date picker with Marked Dates from a Get Records
      • Date Time Picker
        • How to create Collection Variables for StartDateTime and EndDateTime
        • How to Block Out Times
      • Delay Interaction
        • Creating a Confetti Celebration on the Final Screen
        • Launch a flow dialog without a screen
      • Dual Listbox
        • Display contacts with custom icons
        • Accounts list group by industry
      • Expandable Section
        • How to add components into an expandable section
      • Header
        • Building Engaging Card Headers
        • Crafting a Profile Header
        • Adding Action Buttons to Headers
        • Adding a Background Image to Your Header
      • Input Pen
        • Add the custom Toolbar
        • How to Store Input Pen Drawings as Attachments in Salesforce
      • Kanban
        • 📹Introduction
      • List
        • Create a grid list with images
        • Create a sortable list
        • How to Reorder Items and Update Records
        • Vertical List with Actions
      • Navigation
      • Map
        • Customize the Map Marker
        • Visualizing Account Information on a Map
      • Metric
        • 📹Introduction
      • Microphone
        • Save the Microphone recording file as an attached on a record
      • Progress Indicator
        • Creating a Universal Dynamic Progress Step Collection
        • How to Change the Appearance of Your Progress Indicator using a variable
        • Error Handling
      • QR Code
        • Generate a QR Code from a record field
      • Record Detail
        • Using the Record Detail with Reactive Screens
      • Scoped Notification
        • Display message based on a value
      • Text Area
        • TextArea issue with max length when clicking on the next button
      • Tree
        • Build a Tree View with Dynamic Record Details
      • Timeline
        • Assigning multiple source collection to the Timeline
        • Customizing Date Format in the Timeline Component using Luxon
        • Create a horizontal activity timeline
        • Display Tasks
        • Perform actions on selected tasks
      • Vertical Visual Picker
        • Adding sub-items
        • Display a list of online contacts
    • Interactions
      • Enabling auto-refresh for queries after the Flow Dialog ends
      • Creating a Confetti Celebration on the final screen
      • How to create an interaction to navigate to an object
      • How to create an interaction to a record page
      • How to create an interaction to open another flow
      • How to pass an Input Variable from One Flow to Another
      • How to setup an Open Flow Panel interaction
    • Reactive Query Tutorials
      • How to make Data Tables Reactive
      • Build a reactive Data Table Using Dependent Picklists
      • Building a Dynamic Metrics Dashboard with the Data Table
      • How to build a reactive 'Quarterly Opportunity Tracker' component
      • How to Create a Combobox-Filtered Data Table
      • Create a Dynamically Linked Account-Contact View
      • Troubleshooting
    • Tips and Tricks
      • Copy / Paste a component settings
      • Create a link to the record using the href attribute
      • Create a variable and use it in a component property
      • Data Table
      • Hide Standard Header and Footer in a flow
      • How to pass your current RecordID in your screen flow
    • Platform Events
      • Configuration tutorial
  • Flow Components
    • Explore All Components
    • Alert
    • Audio Player
    • Avatar
    • Avatar Group
    • Barcode
    • Barcode Scanner
    • Biometrics
    • Blockquote
    • Button
    • Button Group
    • Button Icon
    • Button Menu
    • Calendar
    • Carousel
    • Chart
    • Chip Container
    • Combobox
    • Color Picker
    • CSV Parser
    • Date Picker
    • Data Table
    • Date Time Picker
    • Delay Interaction
    • Document Scanner
    • Dual Listbox
    • Expandable Section
    • Formatted Address
    • Formatted Name
    • Formatted Value
    • Header
    • Hero Banner
    • Icon Picker
    • Image
    • Input Choice Set
    • Input Choice Set Grid
    • Input Counter
    • Input Date Range
    • Input Pen
    • Illustration
    • Interaction service
    • Kanban
    • List
    • Map
    • Metric
    • Microphone
    • Navigation
    • NFC Scanner
    • Pill Container
    • Progress Bar
    • Progress Circle
    • Progress Indicator
    • Progress Popover
    • QR Code
    • Rating
    • Record Detail
    • Scoped Notification
    • Separator
    • Slider
    • Tabs
    • Text Area
    • Timeline
    • Tree
    • User Location
    • Vertical Visual Picker
    • Visual Picker
    • Visual Picker Link
    • Video Player
    • Welcome Mat
  • Component Builder
    • Overview
    • Properties Pane
    • Interactions Pane
      • Copy Records
      • Download
      • Export To
      • Fire Confetti
      • Flow Navigation
      • Navigate
      • Show Toast
      • Open Alert Modal
      • Open Confirm
      • Open Flow Dialog
      • Open Flow Panel
      • Update Records
      • Refresh Query
      • Refresh All Queries
      • Open Quick Action
    • Style Pane
    • Component Templates
    • Layout and Customization
      • Alignment controls
      • Copy / Paste component settings
      • Margin / Padding
      • Pull To Boundary
      • Undo / Redo
  • Data Sources
    • Understanding Data Sources
    • Manual
    • Variable
    • Query
    • Query VS Variable
    • Picklist
  • Actions
    • Overview
    • Data Manipulation and Transformation
      • Convert Lead
      • Create file
      • Split Text to Text Collection
      • SObject Collection Math
      • SObject Collection Join
      • Get Record from SObject Collection
      • SObject Collection to Activity Timeline Items
      • SObject Collection to Calendar Marked Date Collection
      • SObject Collection to Scheduler Events
      • SObject Collection to Text Collection
    • Data Conversion and Formatting
      • Text Collection Get Value
      • Get Value from String Collection
      • Number Collection Get Value
      • Join Text Collection
      • Format Text in SObject Collection
      • Format Text Collection
      • Text Collection to Combobox Options
      • Text Collection to Dual Listbox Options
      • Text Collection to Progress Indicator Steps
    • UI & Navigation
      • New Avatar Action Collection
      • New Button Menu Item Collection
      • New Carousel Item Collection
      • New Combobox Option Collection
      • New Dual Listbox Option Collection
      • New Header Action Collection
      • New Header Avatar Action Collection
      • New List Action Collection
      • New Navigation Item Collection
      • New Progress Indicator Step Collection
      • New Progress Popover Step Collection
      • New Slider Custom Label Collection
  • Help
    • Performance Guide
    • How do I contact support?
    • How do I report Bugs?
    • Troubleshooting
    • Release Process
  • Miscellaneous
    • Live use cases examples
    • Release Notes
    • Salesforce Flow Limit
    • Security
Powered by GitBook
LogoLogo

Company

  • About Us
  • Pricing

Policies

  • Privacy Policy
  • Terms of Service
On this page
  • Introduction
  • Using Mapped Values
  • What are Mapped Values?
  • Why are Mapped Values Important?
  • Example: Personalized Messages with Mapped Values
  • How to Configure Mapped Values
  • Accessing User Selections from Avonni Components
  • Components with a value Attribute
  • Accessing Multiple Selections as a Collection
  • How to Use Selected Values in Your Flow
  • Other Components
  • Using the Interactions Panel to Create Interactive Flows
  • Styling Your Components: Matching Your Brand

Was this helpful?

  1. Getting Started

Learn the Basics

Last updated 3 months ago

Was this helpful?

Introduction

Welcome! This page is your guide to starting with the Avonni Components, a powerful way to build professional, interactive, customized screen flows in Salesforce – no coding is required! You'll learn how to:

  • to create dynamic, data-driven Flows. Accessing user selections: Getting values from components such as Combobox, Visual Picker.

  • with the Interactions Panel.

  • to match your brand and create a great user experience.

Using Mapped Values

What are Mapped Values?

Mapped Values are a powerful way to connect your Avonni Components directly to data within your Salesforce Flow. This connection allows your components to:

  • Display Dynamic Data: Show information that changes based on Flow variables.

  • Respond to User Input: Update Flow variables based on user actions (like typing in a text box or selecting an option).

Think of Mapped Values as a two-way bridge between your Flow's data and the components on your screen.

Why are Mapped Values Important?

Mapped Values let you create Flows that respond to data and user actions in real-time. Instead of static screens, your Flows become interactive and personalized

Example: Personalized Messages with Mapped Values

Let's say you're building a customer service Flow using Avonni Components:

  1. Create a Flow Variable: You create a variable in your Flow called CustomerType (e.g., "Standard," "Premium," "VIP").

  2. Add an Avonni Text Component: You add an Avonni Text component to your screen. This component will display a welcome message.

  3. Map the Value: In the Avonni Component Builder for the Text component, you map the "Text" property of the component to the CustomerType variable.

  4. Dynamic Display: Now, the Text component will automatically display different text based on the value of CustomerType:

    • If CustomerType is "Premium," the Text component might show: "Welcome, Premium Customer!"

    • If CustomerType is "Standard," it might show: "Welcome! How can we help you?"

    • If CustomerType is "VIP," it might show: "Welcome to our VIP service!"

The message changes without you needing to create separate Text components for each customer type. The Flow, through the Mapped Value, handles the dynamic update.

How to Configure Mapped Values

Here's how to connect your Avonni Components to Flow variables:

  1. Add Component: Drag and drop the desired Avonni Component (e.g., Text, Button, Input Date) onto your Screen element in the Flow Builder.

  2. Open Component Builder: Click the component to select it. The Component Builder (properties panel) will appear on the right.

  3. Find the Property: In the Component Builder, locate the property you want to map (e.g., "Text," "Value," "Checked," "Disabled").

  4. Map to Variable: Next to the property, click the connector icon that allow to map the value.

  5. Choose Variable: Select the appropriate Flow variable from the list. Make sure the variable's data type (Text, Number, Boolean, etc.) is compatible with the component property.

  6. Save: Click "Done" on the screen element and save your Flow.

Accessing User Selections from Avonni Components

Many Avonni Components allow users to make selections (e.g., choosing an item from a list, picking a date, entering text). You can access these user selections within your Flow to drive further actions, make decisions, or update data.

Components with a value Attribute

Several components, including Visual Picker, Vertical Visual Picker, and Combobox, store the user's selection(s) in a value attribute. The format of this value depends on whether the component allows single or multiple selections.

  • Single Selection: The value attribute will contain a simple text string representing the selected item.

    • Example: If a user selects "Banking" from a Combobox, the value might be "Banking".

  • Multiple Selections: If the component allows multiple selections, the value attribute will contain a semicolon-separated string of the selected values.

    • Example: If a user selects "Banking," "Biotechnology," and "Chemicals," the value might be "Banking;Biotechnology;Chemicals".

Accessing Multiple Selections as a Collection

For components that allow multiple selections, you often have additional options to access the selected values in a more structured way:

  • valueCollection: This attribute provides a collection (a list or array) of the selected values. This is the most useful format for working with individual selections within your Flow.

    • Example: [Banking, Biotechnology, Chemicals] (This is how it would appear within your Flow logic).

  • valueCollectionSerialized: This attribute provides a serialized text representation of the collection. This format is less commonly used directly within Flow logic but might be useful for specific data storage or integration scenarios.

    • Example: ["Banking","Biotechnology","Chemicals"]

How to Use Selected Values in Your Flow

  1. Add the Component: Add the relevant Avonni Component (e.g., Visual Picker, Combobox) to your screen.

  2. Configure as Needed: Set up the component's options (e.g., the list of choices for a Combobox).

  3. Access the Value: In a later element in your Flow (e.g., a Decision, Assignment, or another component), you can reference the component's value, valueCollection, or valueCollectionSerialized attribute. You'll do this using the Flow Builder's expression builder (the formula editor).

    • Example: To check if the user selected "Banking" in a Combobox named "IndustrySelector," you might use a Decision element with a condition like this: {!IndustrySelector.value} CONTAINS "Banking"

    • Example: to iterate (loop) over selections from a multiple selection in a visual picker, loop over {!VisualPicker.valueCollection}

Other Components

The Avonni Components offers a wide variety of interactive elements. For components other than Visual Picker, Vertical Visual Picker, and Combobox, always refer to the component's documentation. The documentation will explain accessing user input and data from that specific component. There will be a consistent and named attribute to access the value.


Using the Interactions Panel to Create Interactive Flows

The Interactions Panel lets you create Flows that feel more like interactive applications than static forms. Use it to define what happens when a user interacts with an Avonni Component – for example, what happens when a button is clicked or a selection is made.

Styling Your Components: Matching Your Brand

The Avonni Components lets you fully customize the look of your components. Change colors, fonts, spacing, and more to match your company's branding and create a professional, polished Flow.

Interactions Pane
Style Pane
Use Mapped Values
Make your components interactive
Style your components
Accessing the Mapped Values attribute
Accessing Mapped Values in Action
How to show the selected item from the Avonni Visual Picker as text