SlideShare a Scribd company logo
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
Nishant Singh Panwar
Community Group Leader
Salesforce Developer and Consultant
● 6 Years of Salesforce Implementation Experience
● 8x Salesforce Certified - Application Architect
UDAIPUR
Nishant_SP
Actions
bit.ly/lwcquery
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
Topics covered in Session 3
● Event Introduction
● Create Custom Events
● Declarative Event Handling
● Attach event listener
Programmatically
● Event Propagation
● Communication b/w independent
components
● pubsub
● Export Javascript Code
Recordings available @ http://bit.ly/lksfvideos
Working With Salesforce Data
● Use base components built on lightning data service
● Use LDS wire adapter and functions.
● Use Apex
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
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.
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.
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.
Load a Record
Demo 18 : LoadRecords
Edit a Record
Demo 19 : EditRecords
Create a Record
Demo 20 : CreateRecords
Demo 21 : CreateRecords
Calling Apex Methods
● Apex Calls
○ @wire
○ imperatively
● Import Apex Method
● To Call Apex Method
○ Wire a property
○ Wire a function
○ Call a method imperatively
Calling Apex using @wire
Demo 22 : WireApexCall
Calling Apex using imperative call
Demo 23 : ImperativeApexCall
Refreshapex Demo
Demo 24 : refreshApex
Post your Queries @ bit.ly/lwcquery
Trailmix on Trailhead for Practice
Search for
Lightning Web Components in 5 Days
Coming Up
● 28 May - Navigation Services, Aura with LWC interoperability & extra topics.
bit.ly/lwcday5
RSVP
LWC QUIZ
Win Swag
Lightning Web Components- Ep 3 - Working with Salesforce data and LDS

More Related Content

What's hot

The Architecture of an API Platform
The Architecture of an API PlatformThe Architecture of an API Platform
The Architecture of an API Platform
Johannes Ridderstedt
 
Secure Salesforce: External App Integrations
Secure Salesforce: External App IntegrationsSecure Salesforce: External App Integrations
Secure Salesforce: External App Integrations
Salesforce Developers
 
Spring Cloud Gateway
Spring Cloud GatewaySpring Cloud Gateway
Spring Cloud Gateway
VMware Tanzu
 
Lightning web components
Lightning web components Lightning web components
Lightning web components
Cloud Analogy
 
Episode 19 - Asynchronous Apex - Batch apex & schedulers
Episode 19 - Asynchronous Apex - Batch apex & schedulersEpisode 19 - Asynchronous Apex - Batch apex & schedulers
Episode 19 - Asynchronous Apex - Batch apex & schedulers
Jitendra Zaa
 
Introduction to Apex Triggers
Introduction to Apex TriggersIntroduction to Apex Triggers
Introduction to Apex Triggers
Salesforce Developers
 
REST API Design & Development
REST API Design & DevelopmentREST API Design & Development
REST API Design & Development
Ashok Pundit
 
Introduction to Lightning Web Component
Introduction to Lightning Web Component Introduction to Lightning Web Component
Introduction to Lightning Web Component
SmritiSharan1
 
Intro to Salesforce Lightning Web Components (LWC)
Intro to Salesforce Lightning Web Components (LWC)Intro to Salesforce Lightning Web Components (LWC)
Intro to Salesforce Lightning Web Components (LWC)
Roy Gilad
 
Build Reliable Asynchronous Code with Queueable Apex
Build Reliable Asynchronous Code with Queueable ApexBuild Reliable Asynchronous Code with Queueable Apex
Build Reliable Asynchronous Code with Queueable Apex
Salesforce Developers
 
API Docs with OpenAPI 3.0
API Docs with OpenAPI 3.0API Docs with OpenAPI 3.0
API Docs with OpenAPI 3.0
Fabrizio Ferri-Benedetti
 
Lightning web components - Episode 1 - An Introduction
Lightning web components - Episode 1 - An IntroductionLightning web components - Episode 1 - An Introduction
Lightning web components - Episode 1 - An Introduction
Salesforce Developers
 
OAuth with Salesforce - Demystified
OAuth with Salesforce - DemystifiedOAuth with Salesforce - Demystified
OAuth with Salesforce - Demystified
Calvin Noronha
 
API Strategy Presentation
API Strategy PresentationAPI Strategy Presentation
API Strategy Presentation
Lawrence Coburn
 
Salesforce Integration Patterns
Salesforce Integration PatternsSalesforce Integration Patterns
Salesforce Integration Patterns
usolutions
 
Web Applications and Deployment
Web Applications and DeploymentWeb Applications and Deployment
Web Applications and Deployment
BG Java EE Course
 
Integrating with salesforce using platform events
Integrating with salesforce using platform eventsIntegrating with salesforce using platform events
Integrating with salesforce using platform events
Amit Chaudhary
 
Spring security oauth2
Spring security oauth2Spring security oauth2
Spring security oauth2
axykim00
 
Batch Apex in Salesforce
Batch Apex in SalesforceBatch Apex in Salesforce
Batch Apex in Salesforce
David Helgerson
 
Lightning web components episode 2- work with salesforce data
Lightning web components   episode 2- work with salesforce dataLightning web components   episode 2- work with salesforce data
Lightning web components episode 2- work with salesforce data
Salesforce Developers
 

What's hot (20)

The Architecture of an API Platform
The Architecture of an API PlatformThe Architecture of an API Platform
The Architecture of an API Platform
 
Secure Salesforce: External App Integrations
Secure Salesforce: External App IntegrationsSecure Salesforce: External App Integrations
Secure Salesforce: External App Integrations
 
Spring Cloud Gateway
Spring Cloud GatewaySpring Cloud Gateway
Spring Cloud Gateway
 
Lightning web components
Lightning web components Lightning web components
Lightning web components
 
Episode 19 - Asynchronous Apex - Batch apex & schedulers
Episode 19 - Asynchronous Apex - Batch apex & schedulersEpisode 19 - Asynchronous Apex - Batch apex & schedulers
Episode 19 - Asynchronous Apex - Batch apex & schedulers
 
Introduction to Apex Triggers
Introduction to Apex TriggersIntroduction to Apex Triggers
Introduction to Apex Triggers
 
REST API Design & Development
REST API Design & DevelopmentREST API Design & Development
REST API Design & Development
 
Introduction to Lightning Web Component
Introduction to Lightning Web Component Introduction to Lightning Web Component
Introduction to Lightning Web Component
 
Intro to Salesforce Lightning Web Components (LWC)
Intro to Salesforce Lightning Web Components (LWC)Intro to Salesforce Lightning Web Components (LWC)
Intro to Salesforce Lightning Web Components (LWC)
 
Build Reliable Asynchronous Code with Queueable Apex
Build Reliable Asynchronous Code with Queueable ApexBuild Reliable Asynchronous Code with Queueable Apex
Build Reliable Asynchronous Code with Queueable Apex
 
API Docs with OpenAPI 3.0
API Docs with OpenAPI 3.0API Docs with OpenAPI 3.0
API Docs with OpenAPI 3.0
 
Lightning web components - Episode 1 - An Introduction
Lightning web components - Episode 1 - An IntroductionLightning web components - Episode 1 - An Introduction
Lightning web components - Episode 1 - An Introduction
 
OAuth with Salesforce - Demystified
OAuth with Salesforce - DemystifiedOAuth with Salesforce - Demystified
OAuth with Salesforce - Demystified
 
API Strategy Presentation
API Strategy PresentationAPI Strategy Presentation
API Strategy Presentation
 
Salesforce Integration Patterns
Salesforce Integration PatternsSalesforce Integration Patterns
Salesforce Integration Patterns
 
Web Applications and Deployment
Web Applications and DeploymentWeb Applications and Deployment
Web Applications and Deployment
 
Integrating with salesforce using platform events
Integrating with salesforce using platform eventsIntegrating with salesforce using platform events
Integrating with salesforce using platform events
 
Spring security oauth2
Spring security oauth2Spring security oauth2
Spring security oauth2
 
Batch Apex in Salesforce
Batch Apex in SalesforceBatch Apex in Salesforce
Batch Apex in Salesforce
 
Lightning web components episode 2- work with salesforce data
Lightning web components   episode 2- work with salesforce dataLightning web components   episode 2- work with salesforce data
Lightning web components episode 2- work with salesforce data
 

Similar to Lightning Web Components- Ep 3 - Working with Salesforce data and LDS

Lightning Web Components- Ep 4 - Navigation Services, LWC and Aura Interopera...
Lightning Web Components- Ep 4 - Navigation Services, LWC and Aura Interopera...Lightning Web Components- Ep 4 - Navigation Services, LWC and Aura Interopera...
Lightning Web Components- Ep 4 - Navigation Services, LWC and Aura Interopera...
Nishant Singh Panwar
 
Lightning Web Components- Ep 0 - Introduction
Lightning Web Components- Ep 0 - IntroductionLightning Web Components- Ep 0 - Introduction
Lightning Web Components- Ep 0 - Introduction
Nishant Singh Panwar
 
Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024
SkyPlanner
 
Salesforce Apex Hours: What means Winter 18 for Developers
Salesforce Apex Hours: What means Winter 18 for Developers Salesforce Apex Hours: What means Winter 18 for Developers
Salesforce Apex Hours: What means Winter 18 for Developers
Amit Chaudhary
 
Lightning Design System and Components for Visualforce Developers
Lightning Design System and Components for Visualforce DevelopersLightning Design System and Components for Visualforce Developers
Lightning Design System and Components for Visualforce Developers
Salesforce Developers
 
Testing lightning components feb 15th 2018
Testing lightning components feb 15th 2018Testing lightning components feb 15th 2018
Testing lightning components feb 15th 2018
Richard Clark
 
Best Practices with Sitecore
Best Practices with SitecoreBest Practices with Sitecore
Best Practices with Sitecore
Anant Corporation
 
Rajesh CV
Rajesh CVRajesh CV
Salesforce integration best practices columbus meetup
Salesforce integration best practices   columbus meetupSalesforce integration best practices   columbus meetup
Salesforce integration best practices columbus meetup
MuleSoft Meetup
 
PERIASAMY R_SQL_DBA
PERIASAMY R_SQL_DBAPERIASAMY R_SQL_DBA
PERIASAMY R_SQL_DBAperiasamy R
 
PERIASAMY R_SQL_DBA
PERIASAMY R_SQL_DBAPERIASAMY R_SQL_DBA
PERIASAMY R_SQL_DBAperiasamy R
 
Performing a successful technical debt assessment in Salesforce
Performing a successful technical debt assessment in SalesforcePerforming a successful technical debt assessment in Salesforce
Performing a successful technical debt assessment in Salesforce
Coforge (Erstwhile WHISHWORKS)
 
Summer School Lesson 1
Summer School Lesson 1Summer School Lesson 1
Summer School Lesson 1
Informatica Cloud
 
Project Training in Noida
Project Training in NoidaProject Training in Noida
Project Training in Noida
Tech Mentro
 
ML Platform Q1 Meetup: Airbnb's End-to-End Machine Learning Infrastructure
ML Platform Q1 Meetup: Airbnb's End-to-End Machine Learning InfrastructureML Platform Q1 Meetup: Airbnb's End-to-End Machine Learning Infrastructure
ML Platform Q1 Meetup: Airbnb's End-to-End Machine Learning Infrastructure
Fei Chen
 
Bangalore Executive Seminar 2015: Business Transformation Case Study - Tecnotree
Bangalore Executive Seminar 2015: Business Transformation Case Study - TecnotreeBangalore Executive Seminar 2015: Business Transformation Case Study - Tecnotree
Bangalore Executive Seminar 2015: Business Transformation Case Study - Tecnotree
MongoDB
 

Similar to Lightning Web Components- Ep 3 - Working with Salesforce data and LDS (20)

Lightning Web Components- Ep 4 - Navigation Services, LWC and Aura Interopera...
Lightning Web Components- Ep 4 - Navigation Services, LWC and Aura Interopera...Lightning Web Components- Ep 4 - Navigation Services, LWC and Aura Interopera...
Lightning Web Components- Ep 4 - Navigation Services, LWC and Aura Interopera...
 
Lightning Web Components- Ep 0 - Introduction
Lightning Web Components- Ep 0 - IntroductionLightning Web Components- Ep 0 - Introduction
Lightning Web Components- Ep 0 - Introduction
 
Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024
 
Salesforce Apex Hours: What means Winter 18 for Developers
Salesforce Apex Hours: What means Winter 18 for Developers Salesforce Apex Hours: What means Winter 18 for Developers
Salesforce Apex Hours: What means Winter 18 for Developers
 
Lightning Design System and Components for Visualforce Developers
Lightning Design System and Components for Visualforce DevelopersLightning Design System and Components for Visualforce Developers
Lightning Design System and Components for Visualforce Developers
 
Testing lightning components feb 15th 2018
Testing lightning components feb 15th 2018Testing lightning components feb 15th 2018
Testing lightning components feb 15th 2018
 
Resume_Achin
Resume_AchinResume_Achin
Resume_Achin
 
BVT_Swamy_Abap_4
BVT_Swamy_Abap_4BVT_Swamy_Abap_4
BVT_Swamy_Abap_4
 
Gopals_latest_resume
Gopals_latest_resumeGopals_latest_resume
Gopals_latest_resume
 
Best Practices with Sitecore
Best Practices with SitecoreBest Practices with Sitecore
Best Practices with Sitecore
 
Rajesh CV
Rajesh CVRajesh CV
Rajesh CV
 
Salesforce integration best practices columbus meetup
Salesforce integration best practices   columbus meetupSalesforce integration best practices   columbus meetup
Salesforce integration best practices columbus meetup
 
Raghavendra_Resume
Raghavendra_ResumeRaghavendra_Resume
Raghavendra_Resume
 
PERIASAMY R_SQL_DBA
PERIASAMY R_SQL_DBAPERIASAMY R_SQL_DBA
PERIASAMY R_SQL_DBA
 
PERIASAMY R_SQL_DBA
PERIASAMY R_SQL_DBAPERIASAMY R_SQL_DBA
PERIASAMY R_SQL_DBA
 
Performing a successful technical debt assessment in Salesforce
Performing a successful technical debt assessment in SalesforcePerforming a successful technical debt assessment in Salesforce
Performing a successful technical debt assessment in Salesforce
 
Summer School Lesson 1
Summer School Lesson 1Summer School Lesson 1
Summer School Lesson 1
 
Project Training in Noida
Project Training in NoidaProject Training in Noida
Project Training in Noida
 
ML Platform Q1 Meetup: Airbnb's End-to-End Machine Learning Infrastructure
ML Platform Q1 Meetup: Airbnb's End-to-End Machine Learning InfrastructureML Platform Q1 Meetup: Airbnb's End-to-End Machine Learning Infrastructure
ML Platform Q1 Meetup: Airbnb's End-to-End Machine Learning Infrastructure
 
Bangalore Executive Seminar 2015: Business Transformation Case Study - Tecnotree
Bangalore Executive Seminar 2015: Business Transformation Case Study - TecnotreeBangalore Executive Seminar 2015: Business Transformation Case Study - Tecnotree
Bangalore Executive Seminar 2015: Business Transformation Case Study - Tecnotree
 

More from Nishant Singh Panwar

Admin Certification Sales and Service Cloud
Admin Certification Sales and Service CloudAdmin Certification Sales and Service Cloud
Admin Certification Sales and Service Cloud
Nishant Singh Panwar
 
Letterkenny TrailheaDX 2020 Global Gathering
Letterkenny TrailheaDX 2020 Global GatheringLetterkenny TrailheaDX 2020 Global Gathering
Letterkenny TrailheaDX 2020 Global Gathering
Nishant Singh Panwar
 
Salesforce Admin Certification Preparation : Security Model Dive In
Salesforce Admin Certification Preparation : Security Model Dive InSalesforce Admin Certification Preparation : Security Model Dive In
Salesforce Admin Certification Preparation : Security Model Dive In
Nishant Singh Panwar
 
Lightning Web Components- Ep 2 - Component Communication using Events
Lightning Web Components- Ep 2 - Component Communication using EventsLightning Web Components- Ep 2 - Component Communication using Events
Lightning Web Components- Ep 2 - Component Communication using Events
Nishant Singh Panwar
 
Differential Salesforce DX - Virtual Dreamin
Differential Salesforce DX - Virtual DreaminDifferential Salesforce DX - Virtual Dreamin
Differential Salesforce DX - Virtual Dreamin
Nishant Singh Panwar
 
Power of Flows and Prepare for Salesforce Admin Certification
Power of Flows and Prepare for Salesforce Admin CertificationPower of Flows and Prepare for Salesforce Admin Certification
Power of Flows and Prepare for Salesforce Admin Certification
Nishant Singh Panwar
 
Salesforce Spring 20 Highlights
Salesforce Spring 20 HighlightsSalesforce Spring 20 Highlights
Salesforce Spring 20 Highlights
Nishant Singh Panwar
 
Letterkenny Developer Group Meet - 28 Jan 2020
Letterkenny Developer Group Meet - 28 Jan 2020Letterkenny Developer Group Meet - 28 Jan 2020
Letterkenny Developer Group Meet - 28 Jan 2020
Nishant Singh Panwar
 
Lkdug meet 17_dec19
Lkdug meet 17_dec19Lkdug meet 17_dec19
Lkdug meet 17_dec19
Nishant Singh Panwar
 

More from Nishant Singh Panwar (9)

Admin Certification Sales and Service Cloud
Admin Certification Sales and Service CloudAdmin Certification Sales and Service Cloud
Admin Certification Sales and Service Cloud
 
Letterkenny TrailheaDX 2020 Global Gathering
Letterkenny TrailheaDX 2020 Global GatheringLetterkenny TrailheaDX 2020 Global Gathering
Letterkenny TrailheaDX 2020 Global Gathering
 
Salesforce Admin Certification Preparation : Security Model Dive In
Salesforce Admin Certification Preparation : Security Model Dive InSalesforce Admin Certification Preparation : Security Model Dive In
Salesforce Admin Certification Preparation : Security Model Dive In
 
Lightning Web Components- Ep 2 - Component Communication using Events
Lightning Web Components- Ep 2 - Component Communication using EventsLightning Web Components- Ep 2 - Component Communication using Events
Lightning Web Components- Ep 2 - Component Communication using Events
 
Differential Salesforce DX - Virtual Dreamin
Differential Salesforce DX - Virtual DreaminDifferential Salesforce DX - Virtual Dreamin
Differential Salesforce DX - Virtual Dreamin
 
Power of Flows and Prepare for Salesforce Admin Certification
Power of Flows and Prepare for Salesforce Admin CertificationPower of Flows and Prepare for Salesforce Admin Certification
Power of Flows and Prepare for Salesforce Admin Certification
 
Salesforce Spring 20 Highlights
Salesforce Spring 20 HighlightsSalesforce Spring 20 Highlights
Salesforce Spring 20 Highlights
 
Letterkenny Developer Group Meet - 28 Jan 2020
Letterkenny Developer Group Meet - 28 Jan 2020Letterkenny Developer Group Meet - 28 Jan 2020
Letterkenny Developer Group Meet - 28 Jan 2020
 
Lkdug meet 17_dec19
Lkdug meet 17_dec19Lkdug meet 17_dec19
Lkdug meet 17_dec19
 

Recently uploaded

State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
Enhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZEnhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZ
Globus
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
Alex Pruden
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
Vlad Stirbu
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 

Recently uploaded (20)

State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
Enhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZEnhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZ
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 

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
  • 6. Topics covered in Session 3 ● Event Introduction ● Create Custom Events ● Declarative Event Handling ● Attach event listener Programmatically ● Event Propagation ● Communication b/w independent components ● pubsub ● Export Javascript Code Recordings available @ http://bit.ly/lksfvideos
  • 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.
  • 12. Load a Record Demo 18 : LoadRecords
  • 13. Edit a Record Demo 19 : EditRecords
  • 14. Create a Record Demo 20 : CreateRecords Demo 21 : CreateRecords
  • 15. Calling Apex Methods ● Apex Calls ○ @wire ○ imperatively ● Import Apex Method ● To Call Apex Method ○ Wire a property ○ Wire a function ○ Call a method imperatively
  • 16. Calling Apex using @wire Demo 22 : WireApexCall
  • 17. Calling Apex using imperative call Demo 23 : ImperativeApexCall
  • 18. Refreshapex Demo Demo 24 : refreshApex
  • 19. Post your Queries @ bit.ly/lwcquery Trailmix on Trailhead for Practice Search for Lightning Web Components in 5 Days
  • 20. Coming Up ● 28 May - Navigation Services, Aura with LWC interoperability & extra topics. bit.ly/lwcday5 RSVP LWC QUIZ Win Swag