Posts

Showing posts with the label datasource

Salesforce Fact #587 | Pass comma in LWC targetConfig datasource

Image
Similar to passing &, if we need to pass comma(,) in LWC targetConfig datasource as part of text, we need to escape it as '‚'. Attached are the screenshots.  

Salesforce Fact #586 | Pass & in LWC targetConfig datasource

Image
If we try to pass & in LWC targetConfig datasource, we encounter error. So in order to pass the exact value, we need to escape it as '&'. Attached are the screenshots.

Salesforce Fact #585 | Passing slds text style from app builder to LWC

Image
Suppose we have a scenario we want to configure the text style. We can create a LWC with targetConfig property with the slds text style values. Attached are the screenshots. Note: In case of datasource, if we don't use the default attribute the first value provided becomes the default one. If we don't want to set any default value we need to use default="".