Optionalfilter: 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
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:
Optionalcriteria: FlexCardIdentifierOptional identifier to filter the flex cards
A Promise resolving to a Map of card names to their corresponding FlexCardDefinition
PrivatequeryOptionalcard: FlexCardIdentifierPrivatequeryOptionalcard: 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.