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 |
---|---|---|
CategoryDefinitionsExport |
Gets or sets whether category definitions will be exported or not. |
|
PropertyDefinitionsExport |
Gets or sets whether property definitions will be exported or not. |
|
LifecycleDefinitionsExport |
Gets or sets whether lifecycle definitions and states will be exported or not. |
|
RevisionDefinitionsExport |
Gets or sets whether revision definitions and revision sequences will be exported or not. |
|
UsersExport |
Gets or sets whether users will be exported or not. |
|
GroupsExport |
Gets or sets whether groups will be exported or not. |
|
RolesExport |
Gets or sets whether roles will be exported or not. |
|
PackageVersion |
Gets the vault version for which the BCP package is created. |
Methods
Type |
Name |
Description |
---|---|---|
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();