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
- Go to .
- On the left side, in the Attribute structure and details section,
click ChannelName attribute.
- On the right side, in the Attribute type properties section,
navigate to the String enumeration rule.
- Click
to open the Add
rule window.
- 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.