attributeMap

attributeMap, given information about the source dimension member and attribute name, returns the target dimension member. The attribute string value is expected to match the target dimension member names. The namespace and the dimension name are used to construct the fully qualified target dimension member name.

This function returns an arraylist containing members in the result set. If there is no mapping, an empty list is returned.

attributeMap(ArrayList<Member> current, ArrayList<String> extraParams, Dimension d, String namepsace)

where current is the source dimension member name that is current being mapped, d is the target dimension, and namespace is the namespace in the target dimension used to construct the result member list.

attributeMap is defined in the cube map as follows:

attributeMap(source_dimension_name, attribute_name)

In the following example, the source dimension member is passed in the current list. The extraParams string list contains “Associated Geography” (attribute name).

attributeMap(Plants, Associated Geography)

If a string contains a space, do not quote it. In the previous example, Associate Geography is not quoted.