Loading tutorials
getRecord or call updateRecord, your component does not talk to the Salesforce server directly. It talks to Lightning Data Service (LDS), a client-side layer that runs in the browser. This chapter explains what LDS does, how its cache works, and what that means for the code you wri6 min read@api and know that record pages pass a recordId to a component. The chapter ex6 min read@salesforce/schema import path works, what ea5 min read@api decorator, the recordId property on record pages, and ES modules, promises, and async/await. Earlier chapters introduced Lightning Data Servi6 min read@api decorator, and the recordId property on re5 min read@api recordId pattern on record pages, and that you have already wired getRecord to a property. Here you decide which fields go in fields an5 min readgetRecord wire gives your component, how to read it, and how to avoid the mistakes that come with it. It assumes you know JavaScript modules, promises and async/await, the structure of a Lightning web component, the @api decorator with recordId on record pages, and b5 min read@wire(getRecord) with a recordId. You should also know how to import field references from @salesforce/schema. The chapter covers how to read values out of the object that getRecord returns, and when to use `getFieldV5 min readupdateRecord from lightning/uiRecordApi. It assumes you know JavaScript promises and async/await, the structure of a Lightning web component, the @api decorator with recordId, and the basics o5 min readgetRecord or saves one with updateRecord, and how to show those failures to the user. It assumes you know JavaScript promises and async/await, the structure of a Lightning web component, and how `@api recordId5 min readgetRecord to a property and reads data and error from the result. It also assumes you know async/await and the @api recordId pattern. You do not need to know the other uiRecordApi adapters.5 min readgetRecord, use $ reactive parameters, and read data and error from a wire result. It covers three neighbouring adapters in lightning/uiRecordApi. You will see what each one returns, when it beats getRecord, and what it costs.4 min read@wire(getRecord) and updateRecord, as covered in earlier chapters. It also assumes you know basic Jest syntax (describe, it, expect) and async/await. You will write unit tests that run in Node with no org connection. The4 min readgetRecord, updateRecord, and getRecordNotifyChange. Before you write JavaScript for every record screen, you need to know when the base record form components already do the job.5 min read