IndirectionMethod property: Tree Structure class

Description

The following screen image is an example of Structure tab for Tree Structure setup. When you set up a tree structure, you can set the indirection at the bottom of the Structure tab, with the radio buttons in the Additional Key Field.

Structure tab for Tree Structure setup

In the Tree Classes API, you set these same values with the IndirectionMethod property. The values are:

  • "S": SetID Indirection.

  • "B": Business Unit.

  • "U": User Defined Node Key.

  • "N": None.

Both the User Defined Node Key and the Business Unit are the key field set with the NodeRecord property for this tree structure. If Business Unit is set, the key field set with the NodeRecord property is a business unit.

If you are creating a new tree structure, and you do not explicitly set this property, None ("N") is the default value, and is automatically set.

This property can be used only with an open tree structure, that is, you must open the tree structure with the Open method before you can use this property.

This property is read/write.