Partitions And Values
Additional Item Attributes: Partitions and Values.
Pro Version Only.
There may be occasions where you want to display only part of the hierarchy; here is where partitions come in. By assigning some hierarchy items to one partition, and some to another, you can in effect have more then one hierarchy, For instance, this lets you use the hierarchy both for Navigation, and for a list of Job Statuses. Furthermore, if you choose to manage your value lists in the hierarchy, you can use partitions to keep them all separate: each value list getting its own partition name,
To see how partitions work, select a partition name in the Partition Filter at the top of the Hierarchy portal on the hierarchy tab. Selecting a partition name will restrict the hierarchy portal to those items with the same hierarchy name. You can also see an example of this in the “Launch Navigation Example (Simple Tabs)” script where we use a partition to show just the one menu example we’re interested in.
You may find the hierarchy easier to manage if each partition has at least one top level member. However, this need not be so: partition members must have at least one member at the 3rd level or higher. For example, our Value List example has the item “Job Statuses” in the same partition as the rest the items in that value list. Thus, “Job Statuses” appears at the head of the list. You may like the way that looks, but you could remove the “Job Statuses” item from that partition and the value list example would still work since the items “Open Statuses” and “Closed Statuses” are in the 3rd level. Each partition must have at least one member at the 3rd level or above for the partition to function.
A couple things to keep in mind: a) an item will not show up in a partition just because its parent does- every item you wish to have in the partition must have the partition name; b) items may have more than one partition name, provided those names are separate by carriage returns; c) create new partition name on the Settings screen of the Setup tab.
Values are an optional attribute of a hierarchy item. They can be used to pass information from a hierarchy selection into other systems: for instance, when selecting a client from a list might need to return the client’s ID. Alternately, these values can be used to hold foreign keys when you may need to import record into and out of the hierarchy.