1 |
Use a text editor to open the attrs.csv template, and save the open copy under the new name customattrs.csv. Make sure you save customattrs.csv as a unicode (not ANSI) file, in the folder(s) noted above, and delete any data rows that may appear in the copy. |
• |
ID: Name of the custom attribute—a unique string that distinguishes this row’s custom attribute from all others in the file. |
NOTE: Caution: If any data row(s) remain in the original attrs.csv file, make sure that no ID value in customattrs.csv is the same as any ID value in attrs.csv. Custom attributes will not migrate correctly if any ID value appears in both files. |
• |
SourceProperty: Name of an attribute that has been added to a GroupWise mail message, to be migrated to a property on an Exchange message. |
• |
TargetPropertySet: The GUID for the target property set, which must be one of these values: |
• |
• |
TargetProperty: Name of the corresponding MAPI property in Exchange. A hexadecimal user-property value will be created in Exchange on each migrated mail message with the GroupWise property, which will hold the value. The hexadecimal values of the created properties will be reported in the log (search for "custom attr" in the log file). |
• |
TargetPropertyType: The data type of the MAPI property, which must logically correspond to the data type used in GroupWise. Valid values are: |
3 |
Save and close the updated customattrs.csv file. |
For example, a typical customattrs.csv file might look something like this:
You can use Microsoft’s MfcMapi.exe utility to view the property and its value, if they have been created. (The utility is a free download from Microsoft; Google- search for "mfcmapi" and visit the www.microsoft.com/downloads link.) Most problems in migrating custom attributes can be diagnosed by these quick tests:
• |
Verify that the target property specified in the customattrs.csv file does not already exist, and that the target property is in the correct format. (See About MAPI Properties below for more information.) |
• |
Verify that the customattrs.csv file is UNICODE, not ANSI. |
• |
Verify that the last line in the customattrs.csv file is followed by a line feed and carriage return (achieved by positioning the cursor at the end of the last line and pressing Enter). |
• |
If any data row(s) remain in the original attrs.csv file, make sure that no ID value in customattrs.csv is the same as any ID value in attrs.csv. Custom attributes will not migrate correctly if any ID value appears in both files. |
An unnamed property's name is a 16-bit integer in the range 0x0001–0x7FFF. That 16-bit integer is valid in all mailboxes. Examples of unnamed properties are 0x0070 (i.e., PR_CONVERSATION_TOPIC) and 0x6656, both of which happen to be used by MAPI. So these two examples cannot be used as target property values since they are already used.
A custom property can be unnamed or named. If it is unnamed, you must select a 16-bit integer TargetProperty in the range 0x0001–0x7FFF that is not already used by MAPI. If it is named, you can select any property-set GUID. If you select a property set already in use, you must choose a 32-bit integer or string ID not already in use in that property set. If you select a brand new property-set GUID, you need not worry about IDs already in use because there will not be any.
If you want named custom properties, Quest recommends you use the PS_PUBLIC_STRINGS property-set GUID (PS_PUBLIC_STRINGS being an alias for {00020329-0000-0000-C000-000000000046}), and use string IDs with a prefix that is unique to your application (like "Quest-").
Before you begin, you must determine which column in the UsersToMigrate.csv will correspond to which AD attribute for the Batch Migrator to match corresponding user accounts in the resource forest and user forest. The column (AdSearchCol) and attribute (AdAttribute) are both specified in the [ActiveDirectory2] section of the program parameters in gwmigapp.ini:
• |
AdSearchCol: The column in the UsersToMigrate.csv that contains values the program should search for each particular AdAttribute value to match corresponding user accounts in the resource forest and user forest. The column specified here and its per-user values must exist before the Batch Migrator is run. |
IMPORTANT: In the current Migrator for GroupWise version, the AdSearchCol parameter value must be set to SearchKey2 (the default value for this parameter) for the mailbox-enabling process to succeed. |
• |
AdAttribute: The AD attribute whose values the program should read in the AdSearchCol column of UsersToMigrate.csv, to match corresponding user accounts in the resource and user forests. For example: |
1 |
Edit the parameter settings in the gwmigapp.ini file using a text editor, such as Notepad. |
2 |
In the [ActiveDirectory2] section, set the appropriate parameter value for AdAttribute, as described above. |
• |
Use Microsoft Excel to enter or edit the contents of the column you have designated as the AdSearchCol column in your UsersToMigrate.csv. |
© 2021 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Nutzungsbedingungen Datenschutz