Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Open the ...SAMMigration\unity.config file as administrator in a text editor (e.g. Notepad) and fill the container section:

  • All lines up to <register type="ISAMDbContext" . . /> must be the same as in the configuration file of the Indeed CM Management Console (icm\unity.config).

    Warning

    There is no need to add sections that are not in unity.config of the migration utility by default (but are in icm\unity.config).


  • register type="IMigrateReporter" mapTo="IndeedCM.Migrate.SAM.Reporter.CSVMigrateReporter, IndeedCM.Migrate.SAM"/> - defines the report output mode for the migration utility.

    Info

    If the section is not commented out with <! - - . . . -> symbols, the report will be written to a csv file created in the utility location folder named IndeedCM.Migrate.SAM.Report_dd-MM-yyyyy_HH-mm-ss.csv. By default, the report will not be created.


  • <register type="IMigrateReporter" mapTo="IndeedCM.Migrate.SAM.Reporter.NullMigrateReporter, IndeedCM.Migrate.SAM"/> - disables data migration utility report generation. By default the section is commented out with <! - - . . . -

    ->.

     →.

    Warning

    Using two active sections with the IndeedCM.Migrate.SAM.Reporter.CSVMigrateReporter, IndeedCM.Migrate.SAM and IndeedCM.Migrate.SAM.Reporter.NullMigrateReporter, IndeedCM.Migrate.SAM parameters is not allowed. One of them must necessarily be commented out or deleted.


  • Save the changes.

In the example Indeed CM is deployed using a data storage and user catalog in Active Directory, it is allowed to report on the migration utility in a csv file.

Code Block
languagexml
titleExample of a completed section:
<container>
    <register type="ICardRepository" mapTo="IndeedCM.Persistence.AD.CardRepository, IndeedCM.Persistence.AD" />
    <register type="IUserDataRepository" mapTo="IndeedCM.Persistence.AD.UserDataRepository, IndeedCM.Persistence.AD" />
    <register type="IPolicyRepository" mapTo="IndeedCM.Persistence.AD.PolicyRepository, IndeedCM.Persistence.AD" />
    <register type="ICardTypeRepository" mapTo="IndeedCM.Persistence.AD.CardTypeRepository, IndeedCM.Persistence.AD" />
    <register type="ILicenseRepository" mapTo="IndeedCM.Persistence.AD.LicenseRepository, IndeedCM.Persistence.AD" />
    <register type="ISkziRepository" mapTo="IndeedCM.Persistence.AD.SkziRepository, IndeedCM.Persistence.AD" />
    <register type="IUserCatalog" mapTo="IndeedCM.UserCatalog.AD.UserCatalog, IndeedCM.UserCatalog.AD" />
    <register type="ISAMDbContext" mapTo="IndeedCM.Migrate.SAM_8_0.Core.SAMDbContext, IndeedCM.Migrate.SAM_8_0" />
    <register type="ISAMHelpers" mapTo="IndeedCM.Migrate.SAM_8_0.Utils.SAMHelpers, IndeedCM.Migrate.SAM_8_0" />
    <register type="IMigrateReporter" mapTo="IndeedCM.Migrate.SAM.Reporter.CSVMigrateReporter, IndeedCM.Migrate.SAM" />
</container>