In this article
Overview
You can use this Snap to get the referenced objects from Teamcenter through the specified relation. Teamcenter Relation objects are created to relate two objects. It connects the primary business object and secondary business object through relation property.
Snap Type
The Teamcenter Get Relations Snap is a Read-type Snap that gets related objects from Teamcenter.
Prerequisites
Valid client ID.
A valid account with the required permissions.
Limitations and Known Issues
None.
Snap Views
Type | Format | Number of Views | Examples of Upstream and Downstream Snaps | Description |
---|---|---|---|---|
Input | Document |
|
| The Role, Relation, Mode, and the Object ID of the reference object that needs to be fetched from the Teamcenter. |
Output | Document |
|
| The retrieved reference object from Teamcenter. |
Error | Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter when running the Pipeline by choosing one of the following options from the When errors occur list under the Views tab:
Learn more about Error handling in Pipelines. |
Snap Settings
Asterisk ( * ): Indicates a mandatory field.
Suggestion icon (): Indicates a list that is dynamically populated based on the configuration.
Expression icon ( ): Indicates the value is an expression (if enabled) or a static value (if disabled). Learn more about Using Expressions in SnapLogic.
Add icon ( ): Indicates that you can add fields in the fieldset.
Remove icon ( ): Indicates that you can remove fields from the fieldset.
Upload icon ( ): Indicates that you can upload files.
Field Name | Field Type | Field Dependency | Description | |
---|---|---|---|---|
Label* Default Value: Teamcenter Get Relations | String | None | The name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your pipeline. | |
Object ID*
Default Value: N/A | String/Expression/Suggestion | None | Select the UID (unique identifier) or the Teamcenter adapter ID of the object. | |
Role* Default Value: N/A | String/Expression/Suggestion | None | Specify the name of the role of the reference object. | |
Relation*
Default Value: N/A | String/Expression/Suggestion | None | Specify the name of the relation of the reference object with the required object. | |
Mode* Default Value: Inline | Dropdown | None | Select the mode in which you want to showcase the results. The options available are:
| |
Include relation Default Value: Unselected | Checkbox | None | Select this checkbox if you want the Snap to include the relation of the object in the results. | |
Configure Output Default Value: deselected | Checkbox | None | Select this checkbox if you want the Snap to specify the configuration of the Teamcenter properties in the output. | |
Type
Default Value: N/A | String/Suggestion | Configure Output | Specify the name of the Teamcenter type. | |
Expand attributes path Default Value: N/A | String/Expression/Suggestion | Configure Output | Specify the path of the expand attributes in the input document. | |
Expand Attributes | Specify the attributes you want the Snap to fetch from Teamcenter. Each atribute must be specified as a new row. Click to add a row. | |||
Name* Default Value: None. | String/Expression/Suggestion | Configure Output | Specify the name of the attribute. | |
Snap Execution Default Value: Execute Only | Dropdown list | Select one of the following three modes in which the Snap executes:
|