Dimension ImportAttributeValues

Imports attribute values into a dimension.

Request

In this example, replace \t with an actual horizontal tabulator.

<Alea:Document xmlns:Alea="http://www.misag.com">
  <Alea:Request RequestID="0815" Class="Dimension" Method="ImportAttributeValues">
    <Alea:Dimension Name="ValType" WithHierarchies="true">
      <Alea:AttributeTable ID="1">
        <Alea:Column Name="AFstring1" />
        <Alea:Column Name="AFdate1" />
        <Alea:Column Name="AFlogical1" />
        <Alea:Values>ValType\tActual\tStringContent\t20150429\tT
<!-- delete attribute values of AFdate1 and AFlogical1 –->
ValType\tBudget\tStringContent2\t\t</Alea:Values>
      </Alea:AttributeTable>
      <Alea:AttributeTable ID="2">
        <Alea:Column Name="AFnumeric2" />
        <Alea:Values>ValType\tActual\t29.04</Alea:Values>
      </Alea:AttributeTable>
    </Alea:Dimension>
  </Alea:Request>
</Alea:Document>

The attribute value should be written without escaping ('^'), Dimension Read automatically escapes the value in the XML response. If '2 ^ 3' is put using Dimension ImportAttributeValues, then '2 ^^ 3' is returned by Dimension Read.

Optionally, you can include the WithHierarchies XML attribute. If it is true then the string in front of the first horizontal tabulator in <Alea:Values> is interpreted as hierarchy name. The default of this XML attribute is false.

All attribute fields can be empty. The format for date attributes is yyyymmdd. The valid dates range from 00000101 to 99991231. The valid entries for logical attributes are T or F. To delete a value of an attribute field, leave the content empty.

AttributeTable IDs are 1-based.

Answer

<Alea:Document xmlns:Alea="http://www.misag.com">
  <Alea:Request RequestID="0815">
    <Alea:Return />
  </Alea:Request>
</Alea:Document>

Error

<Alea:Document xmlns:Alea="http://www.misag.com">
  <Alea:Request RequestID="0815">
    <Alea:Error ErrorID="error_code" />
  </Alea:Request>
</Alea:Document>

If an error occurs, then the operation stops. Already imported attribute values stay in the dimension.