Dev: Resume Manager Lightning Component Custom Actions

For complete Resume Manager Lightning Component (RMLC) details, see Resume Manager Lightning Component.

A Lighting Web Component (LWC) can also be used to enable custom actions.

Code

Copy

Expose the LWC

<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
    <apiVersion>61.0</apiVersion>
    <isExposed>true</isExposed>
</LightningComponentBundle>
  • The lwc component receives the same attributes as the aura component.
    • The lightning component should be global. The below example includes this requirement.
Copy
import { LightningElement, api } from 'lwc';

export default class ResumeManagerCustomAction extends LightningElement {

    @api
    contactId;

    @api
    versionId;

    @api
    selectedDocument;

    /*
        component code
    */
}