ExportSettings Class

Provides settings for the creation of typical Vault settings that will be created in the package.

Namespace: bcpDevKit.Entities
Assembly: bcpDevKit.dll

Syntax

public class ExportSettings

Properties

Type

Name

Description

../../../_images/prop.ico bool

CategoryDefinitionsExport

Gets or sets whether category definitions will be exported or not.

../../../_images/prop.ico bool

PropertyDefinitionsExport

Gets or sets whether property definitions will be exported or not.

../../../_images/prop.ico bool

LifecycleDefinitionsExport

Gets or sets whether lifecycle definitions and states will be exported or not.

../../../_images/prop.ico bool

RevisionDefinitionsExport

Gets or sets whether revision definitions and revision sequences will be exported or not.

../../../_images/prop.ico bool

UsersExport

Gets or sets whether users will be exported or not.

../../../_images/prop.ico bool

GroupsExport

Gets or sets whether groups will be exported or not.

../../../_images/prop.ico bool

RolesExport

Gets or sets whether roles will be exported or not.

../../../_images/prop.ico BcpVersion

PackageVersion

Gets the vault version for which the BCP package is created.

Methods

Type

Name

Description

../../../_images/method.ico void

DisableConfigurationExport()

Disables the export for all the configuration entities.

Remarks

By default, all the configuration entities will be exported to the vault package.
In many situations the targeting Vault is already configured correctly, therefore the export of the different configuration entities can be disabled by setting the intended property to false.

If you set e.g. the CreateUser of a file to „Hans Peter“, the API will create automatically the User definition in the vault package, and the user will be later imported into Vault.
To disable this behaviour, set the property ‘UsersExport’ to false.

Examples

Disable the export of all configuration entities

bcpService.Settings.DisableConfigurationExport();