Private
Readonly
loggerPrivate
Readonly
lookupPrivate
Readonly
lwcPrivate
Readonly
salesforceActivates the specified FlexCard, update the status to activated and deploys the LWC component to the org.
FlexCard to activate
Optional
options: FlexCardActivationOptionsExtra options that control how the script is activated
Activate the LWC component for the specified FlexCard regardless of the script is LWC enabled or not.
Optional
options: Omit<FlexCardActivationOptions, "skipLwc">Activates a FlexCard definition in Salesforce.
This method performs the following steps:
The FlexCard definition to activate
Error if the activation of the target card fails
Private
deployGenerate the LWC component bundlen for the specified FlexCard definition and deploy it to the org.
Definition of the FlexCard to deploy
Optional
options: Omit<FlexCardActivationOptions, "skipLwc">Extra options that control how the script is activated
Private
deployOptional
options: FlexCardCompileOptionsPrivate
deployOptional
options: FlexCardCompileOptions & { Get the LWC component bundle as metadata package for the specified FlexCard
Deployable Metadata package
Private
upsert
Activates an FlexCard creating compiled FlexCardDefinition__c records in Salesforce and sets the script state to active.