_FROM_RELATIONSHIP

The _FROM_RELATIONSHIP (or _FROM_REL) element instructs the connector to find relationships from the current object to other business objects. The current object is the last business object in the Enovia repository that was retrieved based on elements further up the DocumentsXML XML hierarchy.

The _FROM_RELATIONSHIP element does not insert any metadata into the document, but child elements can be used to insert information about the relationships and related objects.

The relationships from the current object can be filtered based on the type of the relationship and the type of the related object.

Attribute Description
relationship_pattern (or rel_pattern)

A comma-separated list of strings to restrict the types of relationships that are retrieved. Only relationships with a type matching one or more of the strings are retrieved.

The wildcards * and ? can be used.

type_pattern

A comma-separated list of type names. Only relationships to business objects with a type matching one or more of the names are retrieved.

The wildcards * and ? can be used.

node_name The name of the metadata field that is created for each relationship. If node_name is not specified the child metadata is added at the current depth in the document metadata. This attribute only adds structure to the metadata and does not affect the metadata itself.
obj_where A string to restrict the relationships that are retrieved, based on the properties of the related object. Type a string using the query language used by Enovia.
rel_where A string to restrict the relationships that are retrieved, based on the properties of the relationship. Type a string using the query language used by Enovia.
Other attributes Other attributes that are not reserved are output as metadata in the resulting document.

Example

For examples that show how to use this element, see the examples for the _TO_RELATIONSHIP element (_TO_RELATIONSHIP).


_HP_HTML5_bannerTitle.htm