Tuesday, 24 February 2015

How to change the general view of nodes in DRM?

Ideally DRM distinguishes the nodes with symbols based on the character like Leaf and Limb.


Limb with Hierarchy symbol, Leaf with Rectangle symbol

In this post I will show how to change symbols associated with the Limb and Leaf nodes based on the relationship.
Steps to be followed:
1) Create two Glyphs each one for Parent and Child.
Glyphs: It behaves like a place holder for symbols.

2) Create two Node Types each one for Parent and Child.
· Select Parent Glyph.
· Assign the required properties to the Node type.
· Save the Node Type.
· Repeat the same for Child.

3) Create one Derived property to identify whether the node is parent or child in the hierarchy, based on the result assign the relevant node type to the node.
if(NodeIsLeaf(Core.Abbrev),Child,Parent))
Property must be mapped to any one of the property category.

4) Go to Hierarchy properties -> System -> Hierarchy Node Type
Assign the newly created derived property and save the changes.

5) Open the hierarchy now you can view the symbols in different view.


Happy learning :)

No comments:

Post a Comment