Salesforce Fact #300 | Dynamic datasource in LWC targetConfig property
We can show picklist options in LWC using dynamic datasource value in targetConfig property. For this, we need to create an apex class and populate the dynamic values.
In this example, we are populating the picklist options from a custom settings.
For more details, please check https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/components_config_for_app_builder_dynamic_picklists.htm
Attached are the screenshots.
Comments
Post a Comment