#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Lightning Web Components- Ep 3 - Working with Salesforce data and LDS
1. Letterkenny, Ireland
Developers Group
Lk_Sf_Devs LkTrailblazers
Welcome to our virtual learning series
Learn Lightning Web Components in 5 Days
Day 4 - Working with Salesforce Data
including LDS
2.
3. Nishant Singh Panwar
Community Group Leader
Salesforce Developer and Consultant
● 6 Years of Salesforce Implementation Experience
● 8x Salesforce Certified - Application Architect
UDAIPUR
Nishant_SP
5. Sahil Batra (Director @ MTX Group Inc.)
Industry Experience
Having 9 year of experience in IT Industry and 6 years in Salesforce
ecosystem.Started my Salesforce career as Developer and have played
various roles like Technical Lead , Technical Architect and Corporate
Trainer.
Professional Highlights
● Manage Salesforce trainings and certifications.
● Work as Technical Architect / Principal Developer on Projects.
● Hold 5 Salesforce Certifications and 1 Google certification.
● Conducted Training in India, US , Australia and UK.
● Trained 500+ freshers and 300+ lateral folks in Salesforce.
● Trained 800+ students and 250+ faculty members.
Email : sahilbatraa@gmail.com
Twitter : sahilbatraa18
7. Working With Salesforce Data
● Use base components built on lightning data service
● Use LDS wire adapter and functions.
● Use Apex
8. Lightning Data Service
● Build on User Interface API
● Support All Custom & Standard Object supported by User Interface API
● External Objects, Person Accounts and Custom Metadata Types are not
included.
● Respect CRUD Access, FLS and Security Setting.
● Components
○ lightning-record-edit-form
○ lightning-record-form
○ lightning-record-view-form
9. Lightning Data Service
● Uses wire adapters and functions in lightning/ui*Api
● Apex methods are imported via @salesforce/apex/methodName
● During record change, all component using @wire adapter receive new value if
○ LWC mutates the record.
○ LDS cache expire and @wire reads the record.
10. Lightning Data Service does lot of work
● Loads record data progressively ,
increase performance.
● Cache result on the client
● Invalidate cache entries when dependent
Salesforce data and metadata changes.
● Optimize server calls by bulkifying and
deduping requests.
11. Lightning Base Components
● lightning-record-edit-form → Display editable form
● lightning-record-view-form → Display a read only form
● lightning-record-form → Support edit,view and read only modes.