以下の例では、デフォルトの属性および基準に対して以下の変更を加えた設定ファイルのセクションを示します。
<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>
例における以下の用語には説明が必要です。
CA APM および CA SAM データ オブジェクトまたはテーブルのマッピングを表す XML ノードを指定します。
CA APM のデータ同期オブジェクトの名前を指定します。
CA SAM で CA APM オブジェクトのマップ先となるデータベース テーブルの名前を指定します。
CA APM および CA SAM 属性のマッピングを表す XML ノードを指定します。
データ同期オブジェクトの CA APM 属性を指定します。 属性の名前を生成するには、データベース クライアント ツールを使用してCA APM データベースにログインし、以下のクエリを実行します。
select attribute_name, class_name, table_name, field_name from arg_attribute_def where class_name='object_name';
設定 XML で、attribute_name 列の値を Apmattribute XML 属性の値として使用します。
CA SAM で CA APM 属性のマップ先となるデータベース テーブルのフィールド名前を指定します。 CA SAM オブジェクトおよび属性のリストについては、「CA Software Asset Manager Administration Manual」を参照します。
1 つまたは複数の子基準ノードを保持する XML ノードを指定します。
CA APM データベース テーブル内で OR コネクタを使用して適用される基準を表す XML ノードを指定します。
|
Copyright © 2013 CA.
All rights reserved.
|
|