Data Guidelines
Easy and suggested way to access salesforce data is to use base components provided by salesforce which use Lightning data services.
If more flexibility is needed we can use wire adaptor of lightning data services.(more details in the next sections)
If wire adaptor is not sufficient, then use apex methods.
LDS all custom objects and all the standard objects that User Interface API supports.(objects accessible through UI, history objects and few other objects are not supported)
External objects, person accounts, and custom metadata types are not supported.
LDS doesn't incur any API usage calls, but it is subject to general limits like the numbers of records returned
?Ref: https://developer.salesforce.com/docs/component-library/documentation/lwc/data
Read more on TOI
More from ChatGPT
null
No comments: