Questions tagged [design-attributes]

Use design attributes to control which attributes are exposed in the builder. A design resource lives in the same folder as your .cmp resource, and describes the design-time behavior of the Lightning component—information that visual tools need to display the component in a page or app.

13 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
1answer
497 views

Why Don't LWC Properties Render Correctly in Flow Builder?

Background We've built-in a number of properties for a LWC, and have allowed it to be visible in Lightning Record Pages (lightning__RecordPage) and Flow Screens (lightning__FlowScreen). The ...
1
vote
0answers
33 views

Add design attributes dynamically with add button

In many standard LWC components, I have seen design attributes can be added dynamically with a + Add button. See the screenshot below. Can we achieve the same thing for custom components?
1
vote
2answers
291 views

Line spacing not applying when using <li> tag

This is for Salesforce CPQ Template Content. I have a spacing issue when using the li tag. If the item is too long and is forced onto more than one line, it doesn't take into account the style="margin-...
1
vote
0answers
117 views

Is it possible to extend a standard rich content component's design attributes from the Community Builder?

Just to set your expectations I'm fairly new to developing lightning components. The reason why I'm asking is I want to add additional functionality like a CSS class selection for a list so that an ...
1
vote
0answers
108 views

Section accordion for attributes in design resource for custom lighting component

In building custom lighting components with lots of admin-configurable properties, our design resource interface can get quite lengthy. It would be nice if we could have collapsible sections in the ...
1
vote
0answers
162 views

How do I update an attribute label for a custom community content layout theme?

When creating a custom component you often add attributes. You can then specify a label for these attributes that shows up in the community builder by specifying it in the components design resource. ...
0
votes
0answers
18 views

design attributes — Issue with i-bubble message in app builder

I see weird message being displayed for the description in the app builder. Any idea why is that coming and how to get rid of it. I tried adding custom labels as described in the message for the ...
0
votes
0answers
24 views

How to send values dynamically using design attribute in lightning community

I want to send three fields value using design attribute in lightning community. I'm able to get only the record id value, other two fields are coming empty. <design:component> <design:...
0
votes
1answer
47 views

Can I have dependent pick lists in design attributes

I'm working on a case where I want to show picklists in design attributes. Here, in my case, I want to show them dynamically. i.e. let us take that there 2 picklists in design attributes, first to ...
0
votes
0answers
28 views

Render DesignAttribute configuration by visualforce page (LightningOut)

Hi I have a lightning component with design attributes. I want to render this component in salesforce classic view. So I have created a visualforce page and embedded the lightning component using ...
0
votes
0answers
130 views

get design attribute value on same page to another component in lwc

here is design atrribute @api parentcls and childcls i m trying to fetch these design attribute in another component on same page i tried constructor too but didnt get value on load @api parentcls='...
0
votes
1answer
1k views

How to add css to override existing styling in lightning component

I am using an existing lightning component that displays some checkboxes. I am wondering if there is a way to reduce the size of the checkboxes. <design:component > <design:attribute ...
0
votes
0answers
93 views

Use VisualEditor.DynamicPickList with blank valule

I have a component that uses VisualEditor.DynamicPickList to show active case types users can choose when configuring it on community layout. Works like magic but now I want to reset one of the ...