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
Manish.SinghManish.Singh 

How to pass parameter in design class of lightning component

Hello guys, 
Is there any ways to pass parameter in designe attribute of Lightning component.
My Requirement -  In community builder, when drag the component. In component setting window, I need following things,
1. Select sObject using picklist (already done).
2. On the basis of selected object, In want get the fieldset name in second picklist.
So, anyone can help me to achieve 2 point through design attribute.
Thanks 
Best Answer chosen by Manish.Singh
Surya GSurya G
Hi Manish, 
I think you are asking about the conditional design attributes, based on the first attribute value, you want to control the second attribute. If so, it is still an idea, the feature is not supported yet.
https://trailblazer.salesforce.com/ideaView?id=0873A000000E4AFQA0

Thanks 
Surya G

All Answers

Surya GSurya G
Hi Manish, 
I think you are asking about the conditional design attributes, based on the first attribute value, you want to control the second attribute. If so, it is still an idea, the feature is not supported yet.
https://trailblazer.salesforce.com/ideaView?id=0873A000000E4AFQA0

Thanks 
Surya G
This was selected as the best answer
mukesh guptamukesh gupta
Hi Manish 

Please follow below url:

http://sunil02kumar.blogspot.in/2017/03/why-to-use-design-resource-in-lightning.html
https://www.sfdcstuff.com/2017/03/why-to-use-design-resource-in-lightning.html

if you need any assistanse, Please let me know!!


Kindly mark my solution as the best answer if it helps you.

Thanks
Mukesh