vlocode-project - v1.42.0
    Preparing search index...

    Class DatapackInfoService

    Index

    Constructors

    Properties

    datapackConfiguration: DatapackConfigAccess
    logger: Logger
    salesforce: SalesforceService

    Methods

    • Gets the datapack configuration for the specified datapack type, returns undefined if no configuration is found for the type.

      Parameters

      • datapackType: string

        Datapack type

      Returns Promise<DatapackConfiguration | undefined>

      Datapack configuration record or undefined if no configuration is found for the type

    • Gets all datapack configurations defined in the org, returns an empty array if no datapack configurations are found.

      Returns Promise<DatapackConfiguration[]>

      Array of datapack configuration records, empty array if no configurations are found

    • Gets the datapack name for the specified SObject type, namespaces prefixes are replaced with %vlocity_namespace% when applicable

      Parameters

      • sobjectType: string

        Salesforce object type

      Returns Promise<string | undefined>