Service to import multipacks stored on the org through the Vlocity DataRaptor API.

Hierarchy

  • DatapackImportService

Constructors

Properties

Methods

  • Installs a multipack by its name, optionally filtering the datapacks to import.

    This method retrieves the specified multipack, applies an optional filter to its datapacks, imports the filtered datapacks, activates them, and updates their status to 'Complete'.

    Parameters

    • multipackName: string

      The name of the multipack to install.

    • Optional options: {
          cancelationToken?: CancellationToken;
          predicate?: ((datapack) => boolean);
          progress?: ImportProgressDelegate;
          skipActivation?: boolean;
      }
      • Optional cancelationToken?: CancellationToken
      • Optional predicate?: ((datapack) => boolean)
          • (datapack): boolean
          • Parameters

            • datapack: DatapackInfo

            Returns boolean

      • Optional progress?: ImportProgressDelegate
      • Optional skipActivation?: boolean

    Returns Promise<DatapackImportProgress>

    A promise that resolves to the import progress status of the datapacks.