Loading tutorials
js-meta.xml)6 min readjs-meta.xml file. You should know the @api decorator, and you should have a Salesforce DX project you can deploy to an org. A component only becomes a quick action once its6 min readundefined record ID.5 min readlightning-quick-action-panel structures the modal, what goes in the footer slot, and which layout mistakes cause trouble. It assumes you can read an LWC template and know what @api, event handlers, and js-meta.xml do. Exposing the componen5 min read@api properties. It also assumes you know how recordId reaches a record quick action, and that you have the lightning-quick-action-panel layout from the previous chapter. The component her5 min readCloseActionScreenEvent. This chapter covers when to dispatch that event, where to place it relative to the s5 min readShowToastEvent is how an LWC raises one. This chap5 min readjs-meta.xml) and use @api and event dispatching. It also assumes you have used a Salesforce DX project to deploy metadata, and that you know what a page layout is. The earlier chapters on screen action4 min readlightning__RecordAction does nothing until you create a quick action that points to it and place that action on a layout. This chapter covers both steps. You will do them in Setup first, then as metadata in a Salesforce DX project.6 min readrecordId, updateRecord, CloseActionScreenEvent, and toast events from the earlier chapters. It also assumes you have used @wire and basic Apex with @AuraEnabled.5 min readupdateDescription screen action and the notifyRecord headless action from earlier chapters. It also assumes you know the basics of Jest (describe, it, expect) and have a Salesforce DX project with Node.js installed. Here you will write unit tests for3 min read