This feature takes outlook contacts data from the Microsoft Outlook desktop application using cm.import.interop, and maps automatically to corresponding fields in CET, if the dialog inherits from ProjectInformationDialog
class. Third-party extensions can define <OLMap> tags for each of the project info keys in respective ProjectInfo.xml to correspond to an Outlook key domain.
List of OLMap tags:
- olAddressDomain
- olAddressStreetDomain
- olPostalCodeDomain
- olCityDomain
- olCountryDomain
- olStateDomain
- olCompanyNameDomain
- olEmailDomain
- olFaxDomain
- olPhoneDomain
- olFirstNameDomain
- olLastNameDomain
- olNameDomain
Example implementation: this will map Configura Project Info’s soldTo.name.firstAndLastName field to olNameDomain, which corresponds to the 'FullName' field in an Outlook contact item, and shows an Import from Outlook button next to the first field sharing the same prefix.
<Field> <Label> <English>Contact Name</English> </Label> <Type>FormattedTextField</Type> <Key>soldTo.name.firstAndLastName</Key> <OLMap>olNameDomain</OLMap> </Field>
Project Information and Data Field Snappers
Data field snappers (in 2D tools and Paper View)’s Select Variables dialog has been updated to reorganize the structure and use project info field names as defined in respective XML files. Add this line when initializing the extension to support this (alternatively, users would have to open the dialog at least once):
registerProjectInfoUrl(#"custom.manufacturer.packagename", cmNative("custom/manufacturer/CMProjectInfo.xml"));
Comments
0 comments
Please sign in to leave a comment.