The following example shows a section of the configuration file with the following changes to the default attributes and criteria:
<SamTable apmsyncclass="contact" samsynctable="users" >
<SamField apmattribute="individualid" samattribute="import_id" /> <SamField apmattribute="emailid" samattribute="login" /> <SamField apmattribute="costcenterkey" samattribute="import_level_2_id" /> <SamField apmattribute="lastname" samattribute="last_name" /> <SamField apmattribute="firstname" samattribute="first_name" /> <SamField apmattribute="emailid" samattribute="email" /> <APMCriteria>
<Criteria apmattribute="contacttype.value" value="User" /> <Criteria apmattribute="contacttype.value" value="Analyst" />
</APMCriteria>
</SamTable>
<SamTable apmsyncclass="asset" samsynctable="devices" >
<SamField apmattribute="costcenterkey" samattribute="import_org_level_2_id" /> <SamField apmattribute="locationid" samattribute="import_location_id" /> <!--<SamField apmattribute="resourceownerid" samattribute="import_user_id" />--> <SamField apmattribute="contactid" samattribute="import_user_id" />
</SamTable>
The following terms in the example require explanation:
Specifies the XML node that represents the mapping of the CA APM and CA SAM data objects or table.
Specifies the name of the data synchronization object in CA APM.
Specifies the name of the database table that the CA APM objects map to in CA SAM.
Specifies the XML node that represents the mapping of CA APM and CA SAM attributes.
Specifies the CA APM attribute of the data synchronization object. To generate the name of the attribute, log in to the CA APM database using a database client tool and execute the following query:
select attribute_name, class_name, table_name, field_name from arg_attribute_def where class_name='object_name';
Use the value of the attribute_name column as the value for the Apmattribute XML attribute in the configuration XML.
Specifies the field name in the database table that the CA APM attributes map to in CA SAM. For the list of CA SAM objects and attributes, see the CA Software Asset Manager Administration Manual.
Specifies the XML node that holds one or more child criteria nodes.
Specifies the XML node that represents the criteria that is applied with the OR connector in the CA APM database table.
|
Copyright © 2013 CA.
All rights reserved.
|
|