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

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow