Private ReadonlyloggerPrivate ReadonlylookupPrivate ReadonlylwcPrivate ReadonlysalesforceActivates the specified FlexCard, update the status to activated and deploys the LWC component to the org.
FlexCard to activate
Optionaloptions: 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.
Id or FlexCard descriptor of the FlexCard for which to activate the LWC component
Optionaloptions: Omit<FlexCardActivationOptions, "skipLwc">Activates a FlexCard definition in Salesforce.
This method performs the following steps:
The FlexCard definition to activate
PrivatedeployGenerate the LWC component bundlen for the specified FlexCard definition and deploy it to the org.
Definition of the FlexCard to deploy
Optionaloptions: Omit<FlexCardActivationOptions, "skipLwc">Extra options that control how the script is activated
PrivatedeployOptionaloptions: FlexCardCompileOptionsPrivatedeployOptionaloptions: FlexCardCompileOptions & { toolingApiTimeout?: number }Get the LWC component bundle as metadata package for the specified FlexCard
Id or FlexCard descriptor of the FlexCard
Deployable Metadata package
Privateupsert
Activates an FlexCard creating compiled FlexCardDefinition__c records in Salesforce and sets the script state to active.