Private Readonly salesforceOptional filter: FlexCardIdentifierOptional identifier to filter specific cards
Promise resolving to an array of FlexCardDefinition objects
Finds a FlexCard definition based on the provided identifier. This method first checks for OmniScript card records, then falls back to Vlocity card records.
The identifier used to locate the FlexCard
A Promise that resolves to the found FlexCardDefinition
Error when no FlexCard record is found for the provided identifier
Retrieves flex card definitions based on the provided criteria.
This method fetches both OmniCard and VlocityCard records matching the criteria, converts them to FlexCardDefinition objects, and returns them as a Map keyed by card name.
When multiple definitions exist for the same card name, the method prioritizes:
Optional criteria: FlexCardIdentifierOptional identifier to filter the flex cards
A Promise resolving to a Map of card names to their corresponding FlexCardDefinition
Private queryOptional card: FlexCardIdentifierPrivate queryOptional card: FlexCardIdentifier
Retrieves flex card definitions based on optional filter criteria. This method queries both OmniScript and Vlocity card records and converts them to FlexCardDefinition instances.