Is there a specific reason behind the design of the CMDB detail form's tabs, where the CMDB attributes tab only shows Child/Parent tabs if the CI does not use an extension table?

Document ID : KB000013188
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

Is there a specific reason behind the design of the CMDB detail form's tabs, where the CMDB attributes tab only shows Child/Parent tabs if the CI does not use an extension table?

 <PDM_IF "$Extension" == ""> 

<PDM_IF 0>Only show Child/Parent tabs if CI does not use an extension table</PDM_IF> 
<PDM_IF "$args.id" == "0" > 
<PDM_MACRO NAME = TAB title="Child CIs" ID=rel_child_hier SRC="$args.empty_tab_url=Related Child Configuration Items List" height=$args.empty_tab_height> 
<PDM_MACRO NAME = TAB title="Parent CIs" ID=rel_parent_hier SRC="$args.empty_tab_url=Related Parent Configuration Item" height=$args.empty_tab_height> 
<PDM_ELSE> 
<script type="text/javascript">var nr_name = nx_escape('<PDM_FMT PAD=NO ESC_STYLE=C>$args.name</PDM_FMT>');</script> 
<PDM_SET args.nr_name=""+nr_name+""> 
<PDM_MACRO NAME = TAB title="Child CIs" ID=rel_child_hier SRC="OP=SEARCH+HTMPL=list_child_hier.htmpl+FACTORY=hier+KEEP.NR_PERSID=$args.persistent_id+KEEP.NR_name=$args.nr_name+QBE.EQ.delete_flag=0+QBE.EQ.parent=$args.id" height=300> 
<PDM_MACRO NAME = TAB title="Parent CIs" ID=rel_parent_hier SRC="OP=SEARCH+HTMPL=list_parent_hier.htmpl+FACTORY=hier+KEEP.NR_PERSID=$args.persistent_id+KEEP.NR_name=$args.nr_name+QBE.EQ.delete_flag=0+QBE.EQ.child=$args.id" height=300> 
</PDM_IF> 
</PDM_IF>

Environment:
CA Service Desk Manager 12.9 and 14.1All Supported Operating Systems
Answer:

These two (2) tabs existed before the CMDB module was added to the core CA Service Desk Manager (CA SDM) UI.

Based on feedback from senior CA SDM architects, the design was a result of it was just easier to keep the tabs separate, between the pre and post CMDB feature development 

The CMDBNotebook.htmpl form can be customized to suit needs 

<PDM_IF "$Extension" == ""> 
<PDM_IF 0>Only show Child/Parent tabs if CI does not use an extension table</PDM_IF> 
<PDM_IF "$args.id" == "0" > 
<PDM_MACRO NAME = TAB title="Child CIs" ID=rel_child_hier SRC="$args.empty_tab_url=Related Child Configuration Items List" height=$args.empty_tab_height> 
<PDM_MACRO NAME = TAB title="Parent CIs" ID=rel_parent_hier SRC="$args.empty_tab_url=Related Parent Configuration Item" height=$args.empty_tab_height> 
<PDM_ELSE> 
<script type="text/javascript">var nr_name = nx_escape('<PDM_FMT PAD=NO ESC_STYLE=C>$args.name</PDM_FMT>');</script> 
<PDM_SET args.nr_name=""+nr_name+""> 
<PDM_MACRO NAME = TAB title="Child CIs" ID=rel_child_hier SRC="OP=SEARCH+HTMPL=list_child_hier.htmpl+FACTORY=hier+KEEP.NR_PERSID=$args.persistent_id+KEEP.NR_name=$args.nr_name+QBE.EQ.delete_flag=0+QBE.EQ.parent=$args.id" height=300> 
<PDM_MACRO NAME = TAB title="Parent CIs" ID=rel_parent_hier SRC="OP=SEARCH+HTMPL=list_parent_hier.htmpl+FACTORY=hier+KEEP.NR_PERSID=$args.persistent_id+KEEP.NR_name=$args.nr_name+QBE.EQ.delete_flag=0+QBE.EQ.child=$args.id" height=300> 
</PDM_IF> 
</PDM_IF>

Additional Information:

Configuration Item Tabs - https://docops.ca.com/ca-service-management/14-1/en/using/configuration-management/configuration-items#ConfigurationItems-ConfigurationItemTabs