標準属性と同様に、管理属性値はレコードに割り当てられます。
addRecordsサブ操作では、レコードに管理属性値を追加できます。同様に、updateRecordsサブ操作とaddOrUpdateRecordsサブ操作でも(addAssignments要素のリストとともに使用した場合)、レコードに管理属性値を追加できます。
<attribute name="maName">maValueSpec</attribute>変数の意味は次のとおりです。
標準属性割当てと同様に、レコードの管理属性値からの割当てはingestChanges操作で更新、置換および削除できます。
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.endeca.com/MDEX/ingest/3/0" xmlns:ns1="http://www.endeca.com/MDEX/XQuery/2009/09"> <soapenv:Header/> <soapenv:Body> <ns:ingestChanges> <ns:addRecords> <ns:record> <ns1:attribute name="partID">8344</ns1:attribute> <ns1:attribute name="Component">Derailleur</ns1:attribute> <ns1:attribute name="Component">Tire</ns1:attribute> <ns1:attribute name="Component">Michelin</ns1:attribute> <ns1:attribute name="Color">blue</ns1:attribute> </ns:record> </ns:addRecords> </ns:ingestChanges> </soapenv:Body> </soapenv:Envelope>
<cs:RecordListEntry> <cs:Record> <cs:attribute name="Color" type="mdex:string">blue</cs:attribute> <cs:attribute name="Component" type="mdex:string" displayName="derailleur gears">Derailleur</cs:attribute> <cs:attribute name="Component" type="mdex:string" displayName="Michelin brand">Michelin</cs:attribute> <cs:attribute name="Component" type="mdex:string" displayName="bicycle tires">Tire</cs:attribute> <cs:attribute name="partID" type="mdex:int">8344</cs:attribute> </cs:Record> <cs:ComputedProperties/> </cs:RecordListEntry> <cs:DimensionHierarchy> <cs:DimensionValueWithPath> <cs:DimensionValue DimensionName="Component" Spec="Derailleur">derailleur gears</cs:DimensionValue> <cs:DimensionValue DimensionName="Component" Spec="/">Parts</cs:DimensionValue> </cs:DimensionValueWithPath> <cs:DimensionValueWithPath> <cs:DimensionValue DimensionName="Component" Spec="Michelin">Michelin brand</cs:DimensionValue> <cs:DimensionValue DimensionName="Component" Spec="Tire">bicycle tires</cs:DimensionValue> <cs:DimensionValue DimensionName="Component" Spec="/">Parts</cs:DimensionValue> </cs:DimensionValueWithPath> <cs:DimensionValueWithPath> <cs:DimensionValue DimensionName="Component" Spec="Tire">bicycle tires</cs:DimensionValue> <cs:DimensionValue DimensionName="Component" Spec="/">Parts</cs:DimensionValue> </cs:DimensionValueWithPath> </cs:DimensionHierarchy>