Configuring Data completeness for a custom hierarchy

Proceed as follows to configure data completeness for a custom hierarchy (except OOTB Channel Hierarchy).

About this task

When you try to configure data completeness for a hierarchy having Path attribute and Display attribute set to different values, you need to go to Completeness Lookup Table Spec and make changes to the ChannelName attribute String enumeration rule script.

Procedure

  1. Go to Data model manager > Spec console and Attribute collection > Spec Console > Lookup > Completeness Lookup Table Spec.
  2. On the left side, in the Attribute structure and details section, click ChannelName attribute.
  3. On the right side, in the Attribute type properties section, navigate to the String enumeration rule.
  4. Click to open the Add rule window.
  5. On the right side, in the Rule editor section, update the script as follows.
    • Comment out the following line.
      //channelName[i]=cat.getDisplayValue();
    • Add the following line.
      channelName[i]=cat.getEntryAttrib("Spec Name/Primary Key of the Spec");
      Where,

      Spec Name is name of the spec and the Primary Key of the Spec is the attribute name that was marked as Primary Key when this spec was created.