LogoLogo
HomepageYouTube ChannelInstall from the AppExchange
  • Home
  • Dynamic Components
  • Flow Components
  • Experience Components
  • Projects
  • 👋Welcome
  • Getting Started
    • Product Tour
    • Quickstart Tutorial
    • Understanding The Essentials
      • Component Builder
      • Component Visibility
      • Target Page Object
      • Using Variables and Component Data
      • Publishing your Dynamic Components
      • Dynamic vs. Flow Components
    • Avonni Components App
      • Accessing the App
      • Folders
      • Templates
      • Version management
    • AppExchange Listing Page
    • Installation & Licenses Management
  • Tutorials
    • Projects
    • Components
      • Calendar
        • How to Create Events Quickly by Dragging
        • How to Add an Edit Action to Calendar Events
        • How to Add a New Event Button to the Calendar Header
        • How to Customize the Right-Click Menu
        • How to Reschedule Events with Drag and Drop
      • Columns
        • Creating a Responsive 3-Column Layout
      • Data Table
        • How to customize Data Table style
        • How to make a field editable
        • How to add clickable buttons
        • How to color-code badges
        • How to export data
        • How to configure search
        • How to set columns visibility
      • Kanban
        • Saving Changes on Drag-and-Drop
      • List
      • Metric
      • Record Detail
        • Saving Changes
    • Interactions
      • How to create an interaction to navigate to an object page
      • How to create an interaction to navigate to a record page
      • How to Pass Multiple Selected Records from a Dynamic Component to a Screen Flow
    • Reactive Components
      • Reactive Map and Data Table
      • Master-Detail Relationship with Data Tables
      • Vertical Tabs with Reactive Data Table
    • Style
      • How do you add space or a break between sections or fields?
    • Tips and Tricks
      • Using the Dynamic Component component
  • Component Builder
    • Overview
    • Configuring Components
      • Properties
      • Fields
      • Style
    • Data & Interactions
      • Data Sources
        • Manual
        • Picklist
      • Resources
        • Constant
        • Formula
        • Nested Queries
        • Query
        • Variable
      • Interactions
        • CRUD from Record Variable
        • Download
        • Execute Flow
        • Navigate
        • On Load
        • Open Alert Modal
        • Open Confirm
        • Open Dynamic Component Dialog
        • Open Dynamic Component Panel
        • Open Flow Panel
        • Open Flow Dialog
        • Show Toast
    • Advanced Topics
      • Undo / Redo
      • Copy and Paste
      • Keyboard Shortcut
  • Components
    • Explore All Components
    • Accordion
    • Alert
    • Audio Player
    • Avatar
    • Avatar Group
    • Badge
    • Barcode
    • Blockquote
    • Button
    • Button Group
    • Button Icon
    • Button Menu
    • Button Stateful
    • Calendar
    • Camera 🆕
    • Card
    • Carousel
    • Chart
    • Checkbox
    • Checkbox Button
    • Chip Container
    • Color Picker
    • Columns
    • Combobox
    • Container
    • Counter
    • Data LWC Container
    • Data Table
    • Date Picker
    • Date
    • Date Range
    • Dual Listbox
    • Dynamic Component
    • Formatted Address
    • Formatted Name
    • Formatted Value
    • Header
    • Icon
    • Icon Picker
    • Illustration
    • Image
    • Input Color
    • Input Date
    • Input Pen (Signature)
    • Input Text
    • Kanban
    • List
    • LWC Container
    • Map
    • Media Object
    • Metric
    • PDF Viewer
    • Pivot Table
    • Progress Bar
    • Progress Circle
    • Progress Indicator
    • Rating
    • Record Detail
    • Relationship Graph
    • Scope Notification
    • Section
    • Separator
    • Slider
    • Status
    • Tabbed Container
    • Tabs
    • Text
    • Text Area
    • Timeline
    • Toggle
    • Tree
    • Vertical Visual Picker
    • Video Player
    • Visual Picker
    • Visual Picker Link
  • Help
    • Contact Support
    • Security
    • Performance Guide
    • Deployment Process
    • Release Notes
    • Report Bugs
Powered by GitBook
LogoLogo

Company

  • About Us
  • Pricing

Policies

  • Privacy Policy
  • Terms of Service
On this page
  • Setting Up Your Avatar Group
  • 1: Choose Your Data Source
  • 2: Map Data Fields (For Query Data Source Only)
  • 3: Customize the Appearance
  • Additional Configuration Options
  • Header
  • Filtering
  • Search
  • Field Information
  • Why Use the Avatar Group?
  • Example Use Cases

Was this helpful?

  1. Components

Avatar Group

The Avatar Group component lets you showcase multiple avatars together, making it ideal for representing teams, groups, or lists of individuals.

Setting Up Your Avatar Group

1: Choose Your Data Source

Determine how the Avatar Group will get the information it needs to create the individual avatars:

  • Manual: Add avatars individually, providing details for each one.

    • Best For: Small, fixed sets of avatars or when you need precise control over each avatar's appearance and information.

    • How it Works: Within the component's settings, you'll manually add each avatar and specify its image source, initials, text, and other properties.

  • Query: Connect the Avatar Group to a Salesforce object to dynamically generate avatars based on record data.

    • Best For: Larger datasets or when you want to display avatars based on information already stored in Salesforce (e.g., showing all contacts related to an account).

    • Supported Objects: You can connect to standard objects like Contact and User, or any custom object.

    • How it Works: The component automatically creates avatars for each record retrieved from the selected Salesforce object.

2: Map Data Fields (For Query Data Source Only)

If you chose the "Query" data source, you need to map the Avatar Group's attributes to the corresponding fields in your Salesforce object. This tells the component where to find the information for each avatar.

  • Example Mappings:

    • Initials: Map to your object's "FirstName" and "LastName" fields.

    • Primary Text: Map to the "Name" field or another field containing the record's main identifier.

    • Secondary Text: Map to a field like "Title," "Email," or another field that provides additional context.

    • Image: Map to a field that contains the URL of the image you want to use for the avatar.

  • Important Note: Ensure the fields you map contain the correct data type for each attribute (e.g., text for initials, URL for image)

3: Customize the Appearance

Tailor the look and feel of your Avatar Group to match your design:

  • Shape (Variant):

    • Circle: Display avatars in a circular shape.

    • Square: Display avatars in a square shape.

  • Size:

    • Predefined Sizes: Choose from options like "Small," "Medium," or "Large."

    • Custom Size: Set a specific pixel size for precise control.

  • Layout: Choose how the avatars are arranged within the group:

    • Stack (Vertical): Arrange avatars vertically in a column.

    • Grid: Arrange avatars in a grid layout.

    • List: Display avatars in a horizontal list.

  • Max Visible: Set the maximum number of avatars to display


Additional Configuration Options

Header

Add a title or descriptive text above the Avatar Group to provide context (e.g., "Project Team Members," "Online Users").

Filtering

Allow users to filter the displayed avatars based on criteria you define (e.g., filter by role, department, or status). You'll need to configure filter options based on your chosen data source.

Search

Enable a search bar so users can quickly find specific avatars within the group by searching for a name or other relevant information. This feature is handy for larger avatar groups.

Field Information

You can display more fields information related to the selected avatar


Why Use the Avatar Group?

  • Visual Representation of Groups: Clearly and concisely display groups of people or entities.

  • Enhanced User Experience: Make it easy for users to identify and understand relationships between individuals.

  • Space Optimization: Present multiple avatars in a compact and organized manner.


Example Use Cases

Display a

  • Team Rosters: Display the members of a team or department.

  • Project Teams: Show the avatars of individuals working on a project.

  • Customer Lists: Represent a group of customers associated with an account.

  • Social Networks: Visualize connections between users in a social network.

By leveraging the Avatar Group component, you can create informative and visually engaging user interfaces representing groups and relationships within your Salesforce applications.

Last updated 2 months ago

Was this helpful?