function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Anil Bolisetty 2Anil Bolisetty 2 

design attributes on record page with lightning component

Hello,

I have created some design attributes in my lightnign component,can i use labels when i use the component on the record page

Tried to search but could not find any answer but if any it would be of great help

Thanks
Anil
Nayana KNayana K
Hi Anil,

<design:attribute name="subject" label="Subject" description="Name of the person you want to greet" />

Design atribute has label. You can utilize that. 

Are you looking for something else? Please elaborate
Anil Bolisetty 2Anil Bolisetty 2
i want the user to enter the name on the screen when he adds the component on the page ,he has to take from the custom labels ,

i am trying to enter with $Label.SGA_AccountAddressSearch_SaveBilling on the page but its not taking the value 
Anil Bolisetty 2Anil Bolisetty 2
this is waht i have on record page ,user need to enter these fields and it has to to be a customlabel

User-added image
Nayana KNayana K
Label expressions in markup are supported in .cmp and .app resources only. Not possible in .design file :(
design:attribute as support to dataSource (for custom data) but it comes in picklist format