Video tutorials
/
How to Customize Salesforce Lightning Pages Faster Without Code (Avonni Dynamic Components DEMO)
Lightning Pages

How to Customize Salesforce Lightning Pages Faster Without Code (Avonni Dynamic Components DEMO)

A demo of the Component Builder: a campaign card with a checkbox group that toggles two data tables.

Beginner
11:01
Overview
How to Customize Salesforce Lightning Pages Faster Without Code (Avonni Dynamic Components DEMO)
Play video
Chapters
0:00 Introduction 1:06 Accessing the Avonni Components App 1:26 Creating our first Dynamic Component 1:53 Avonni Card Configuration 3:10 Adding the Avonni Columns 3:40 Adding the Avonni Checkbox Group 4:59 Fine-Tuning the Columns 5:21 Adding the first Data Table 6:40 Configuring Data Table visibility rule 7:13 Adding the second Data Table 9:05 Other features overview 9:48 Publishing your Avonni Dynamic Component on App Builder
Click a chapter to jump to it
Watch on YouTube

What you will build

A demo of Avonni Dynamic Components: build a marketing campaign card in the Component Builder and publish it to a Lightning page. For Salesforce admins and consultants new to the product.

  • Open the Avonni Components app and create a Dynamic Component
  • A Card with Columns and a Checkbox Group
  • Two Data Tables, each shown by a visibility rule
  • An overview of other features
  • The component published to a page with Lightning App Builder

Transcript

0:00 Introduction

Hello and welcome to this new video tutorial. Today it's all about the new Avonni dynamic component package. This is what I'm going to show you today to give you an overview of what are Avonni dynamic components. So first it's a new package of the Avonni components that work standalone exclusively for lightning pages. So here I'm not talking about flow-based component. I'm talking about standalone component that can be placed to any Lightning pages that will load instantly on the page. No more performance issue. Everything will be seamless and reactive as well. So this is a demo I built marketing campaign performance. This is not a screenflow. This is an Avonni dynamic component I place into here my homepage. It's loading extremely fast and everything is functional. So what I did I put like checkbox button to be able to switch from one list to another. So basically it's only one dynamic component with multiple data table inside mixed with some set component visibility rule. So let me show you how to create this from

1:06 Accessing the Avonni Components App

scratch. First when you install the Avonni dynamic component package when you click on the app launcher you will see the Avonni component app and from there you will be able to manage all your Avonni dynamic component. So let's say I want to create a new demo. Let's say marketing that's the name of my new dynamic component.

1:26 Creating our first Dynamic Component

Now we build our own dynamic component builder. From there you can easily build and create any custom solution you want for your Salesforce Lightning pages using all the dynamic component available. So you can see on the left side you have all the the components and all you need to do is really drag and drop any component into the canvas. So here let's say I like to start by

1:53 Avonni Card Configuration

dragging the card and really just to create a consistent layout. So here under container I have the card. You see there is a bunch of new components available as well. Container columns accordion a lot of them. So let's drag the card. Let's say now marketing campaign performance. Let's select an icon. Okay. Now for the card you also have access to the style and you can also create your own custom style class. So let's say custom card. That's my default custom card. So that's useful if you have to reuse the same component and create common class for the same component. So here let's say on the header I'd like to set 18 normal text color let's pick up blue border color. Okay. And border bottom size one pixel. Okay. Perfect. You can also fine-tune the border if you'd like to have a border. If you'd like to apply radius, everything can be customizable from there. So, I get my card set up. But what I like the most here about the Avonni dynamic component, it's the ability to see everything you're building. You see everything live while you're building

3:10 Adding the Avonni Columns

it. And you also get access to slots. So that's possible to drag other component inside the card. For example, so let's say I'd like to drag a column on the right side. You see there is like slots where you can empty other component into that slot. So let's like to create two column and then from the two column I like to add now on the first column a text and the name of the the text content would be filter by okay and on

3:40 Adding the Avonni Checkbox Group

the second column I want to add checkbox group to have my option. So let's say okay option for the first checkbox group leads generated generated the value would be leads that's the unique identifier of this specific option let's say second one will be opportunities created and last one will be closed one closed okay so now I can fine-tune the checkbox box group which is also the input choice set component. So here I can say okay variant I want to hide the label. Okay the type I don't want to have checkboxes so I want to select button and now for the button I want to no I don't need to have multi select I want to only be able to select one button at a time horizontal orientation. Yes, that's way better. And then now let's say display as row. Okay, perfect. Now one last thing I like to do is to define a default value when this dynamic component is loaded. So default value would be leads. So that would be the default button selected by default. So now I can say oh okay for let's get back

4:59 Fine-Tuning the Columns

to the column component because you see there is like some it's not aligned. I want to align uh you know vertically the text with the button group. So again, everything visual while you're while you're building this. And finally, for the column, you can also play with horizontal spacing to add some extra space. Okay, perfect. Now, next, let's

5:21 Adding the first Data Table

drag the data table component inside the card. And that's my first data table. So here I need to create a query to display a list of leads. So create query uh let's say get leads API name. I want to query delete object. I don't need to filter the information. That's okay. Save. Now because the qu the query is created, I can drag the column. I can create column on the data table. Add column. Let's say I want to display the full name of the lead linkify. You can also make this field edit tableable, featureable, searchable. Perfect. Let's add another column. Maybe the status. Okay. And finally, we can also add maybe phone. Why not? Text would be phone type. Click to dial. We can make it editable, featureable, searchable as well. Okay, great. Awesome. So, we can even go back on the card again and maybe toggle this option expand to content fit. Way better. Perfect. Also, at any time, you can preview what you're building. So here you have this preview button and you get a preview of your custom dynamic component. This is the

6:40 Configuring Data Table visibility rule

first data table but I don't need to always display this data table. I only want this data table to be displayed when this button is clicked. So here I will select the data table and from the data table here you will see set component visibility to set a component visibility rule on condition at condition. So I want to display this data table when the input choice set value is equal to leads. That's the value of the first option. So now there is a component visibility rule. What I

7:13 Adding the second Data Table

can do next I can drag just below this one another data table. Again this time I want to display opportunities created. So let's say query create a query get opportunities and query the opportunity object. And here if you want to display only recent created opportunities you can add a condition based on the created date is equal to the date literal value. So let's say in the last two years just to make sure I have some data to display. Save. And then you do the same thing. You do the mapping. So you're creating your column on the opportunity. I want to display the name of the opportunity linkify. Then you want to display the amount. It's a currency. You can make this editable as well. Featurable, searchable, anything you want. Okay, perfect. And let's add probability. Probability. Why? Because I love the probability. And I can I can also enhance the visualization of the probability using a progress bar. So progress bar show value save. Okay. Now this data table is set up. We do the same thing. We need to set a component visibility rule to only display this data table when the input choice set value is equal to the name of the option. The value of the option which is opportunities on my case. Okay, now let's do a preview. Let's preview this. First data table is displayed. Perfect. Great. It works. And you see it's loading extremely fast. I mean, I can repeat the same process. It's exactly the same process for the third data table. I will not do this for this example because this is really to show you the basics. The other thing I'd like

9:05 Other features overview

to show you on this dynamic component builder it's yes you get access to all the Avonni dynamic component but you also get access to the resources tab where you can create resources like constant formula nested queries query variable. You also have the ability to create interaction on button action even on load interaction. So you basically on on load interaction allows you to execute an auto lunch flow before the component is loaded or get records before this component is loaded. Very useful powerful. I will do some videos uh in the coming days regarding this. Then you have the style and also you have the structure. So once you've done

9:48 Publishing your Avonni Dynamic Component on App Builder

with that you can say save and don't forget to activate. By clicking on activate this component will be ready to use on your landing page. So it's creating marketing campaign performance. That's the name of my dynamic component. So now your component is activated is ready to use. How you can add it into any Lightning page. You simply go here edit page you open App Builder and from there you will get access under custom manage component to the Avonni dynamic component. You're dragging the Avonni dynamic component and then you select the component you want to display on the page. That's it. Save and you're done. And now you can see this component live in action on the page. Everything is fully functional. You see the set component visibility rule in action. You can display multiple data table at once. You can really set a lot of things with that. So that's really an overview demo of the Avonni dynamic components. That's really no highly technical. It's really to show you a preview of this. If you'd like to give it a try, it's available on the app exchange. I will put a link uh in the video description to install the Avonni dynamic component package. Thank you so much for watching

Show the full transcript

Questions this video answers

How do I show a different data table depending on which button is selected?

Use a Checkbox Group with one value per option, then on each Data Table set Set Component Visibility with a condition where the input choice set value equals that option's value.

How do I add an Avonni Dynamic Component to a Lightning page?

Save and activate the component first. Then in Edit Page, open Lightning App Builder, drag the Avonni Dynamic Component under Custom Managed and select your component.

Can I preview a Dynamic Component before putting it on a page?

Yes, the builder has a Preview button that shows your custom dynamic component while you build it.

See it as a use case
No items found.
Build it in your org

Free in sandboxes, 10 free production licenses.

Start free
Keep going

Related tutorials

Find your next tutorial

Browse the whole library, filtered by where it runs and what you want to build.

All video tutorials