Sample Payload for Updating the Member-Attribute Mapping for Previously Saved Attributes
  • 1 Minute to read
  • Dark
    Light
  • PDF

Sample Payload for Updating the Member-Attribute Mapping for Previously Saved Attributes

  • Dark
    Light
  • PDF

Article summary

This sample updates the mappings for four dimension leaf members to the "Unknown" Attribute leaf member. If a mapping already exists for a dimension leaf member, it is overwritten by the new mapping.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<attribute-payload>
<model-name>Sales</model-name>
<dimension-name>Products</dimension-name>
<attribute-name>Product_Type</attribute-name>
<delimiter>@</delimiter>
<!-- dimension leaf member code @  attribute leaf member code -->
<attribute-mapping>
<member>iPhoneX@Unknown</member>
<member>S8@Unknown</member>
<member>DELL@Unknown</member>
<member>HP@Unknown</member>
</attribute-mapping>
</attribute-payload>

Was this article helpful?

What's Next