Determining Target Parents in Subscriptions

When you create a subscription between two viewpoints with different structures, you may need to define how the target parent is determined. For example:

  • Subscribing from a list viewpoint (which has no parent-child structure) to a hierarchy viewpoint.
  • Subscribing from a hierarchy viewpoint to an alternate hierarchy viewpoint (where the source parent may not exist in the target or you want the node to be inserted under a different parent than in the source).

The following tables describe the available mechanisms you can configure to determine the target parent for nodes created through subscriptions.

Subscriptions from List to Hierarchy Viewpoints

Method Use When:
On the Definition tab of the subscription inspector, use Source Property for Target Parent to select a node level property from the source viewpoint to specify the parent in the target viewpoint. Specifying Source Properties for Target Parents. You want to use a property in the source viewpoint to identify the parent to insert the node under.
Configure a calculated and stored parent in the target. When request actions are created for a node in a target hierarchy viewpoint, because the source viewpoint is a list and does not have parent nodes, the system uses the <Unknown> keyword in the parent column of the generated request file attachment to indicate that the value for the parent should be calculated. See Calculating and Storing the Parent of a Node. You want to calculate the parent in the target viewpoint based on information in the target viewpoint.

Subscriptions from Hierarchy to Hierarchy Viewpoints

Method Use When:
On the Definition tab of the subscription inspector, use Unknown Target Parent to override the parent in the source viewpoint with an unknown parent so that the parent can be calculated in the target viewpoint. See Calculating and Storing the Parent of a Node. You want to calculate the parent in the target based on the properties of the target child node.
Transform the parent in the node type converter: Use a Transform operation on the Parent node in the node type converter to transform the parent to either:
  • A calculated value that you define an expression to derive the value for
  • An unknown parent, so that it can be calculated in the target viewpoint.

See Working with Node Type Converters.

You want to calculate the parent in the target based on information in the source parent.