Previous Topic: Import a CMS profileNext Topic: Reset CMS Profile Default Properties


Retain or Overwrite Profile Properties

When importing a CMS profile, you can specify how CA DataMinder reconciles mismatches between existing CMS properties and properties in the imported profile.

Property Exists on CMS But Not in Imported Profile

If a property exists on the CMS but not in the imported profile, you can retain or delete the existing property. To configure the import operation, edit the following attribute in the XML profile:

retainvalues

This optional attribute has the following values:

retainvalues="True"

This is the default value if retainvalues is not specified.

The existing property on the CMS is retained.

retainvalues="False"

The existing property on the CMS is deleted.

Property Exists an CMS and Imported Profile

If a property exists both on the CMS and in the imported profile, you can retain the existing property or overwrite it with the imported property. To configure the import operation, edit the following attribute in the XML profile:

overwritevalues

This optional attribute has the following values:

overwritevalues="True"

The existing property on the CMS is overwritten by the imported property.

overwritevalues="False"

This is the default value if overwritevalues is not specified.

The existing property on the CMS is retained.

Property Exists in Imported Profile But Not on CMS

If a property exists in the imported profile but not on the CMS, the imported property is always added to the CMS profile.

Apply Changes to Whole CMS profile or Individual Sections

You can set retainvalues and overwritevalues for the whole CMS profile or for an individual section, such as the user attributes section.

Apply Changes to Whole CMS Profile

Edit retainvalues or overwritevalue in the <profile> tag. For example:

<profile retainvalues="True" version="1.0" machinetype="CMS">

If a property exists in both the XML file and on the CMS, then the value of that property on the CMS is overwritten by the value in the XML file.

Apply Changes to Individual Section

Edit retainvalues or overwritevalue in the relevant section tag. For example, to retain existing user attributes, edit the <userattributes> tag:

<userattributes retainvalues="True">

The supported section tags are:

<userattributes>
<roles>
<audit_setttings>
<audit_templates>
<trigger_severities>
<resource_roles>

Note: If retainvalues or overwritevaluesattribute exist in the <profile> tag and in a section tag, the section tag takes precedence.