Tc Requirement Upload Rich Content

This Snap upload a rich content file to either a Requirement or a Paragraph revision.

Supported Accounts


Settings tab of snap to show example values.

Prerequisites

  • A valid Teamcenter account with the required permissions.

Snap views

Type Description Examples of upstream and downstream Snaps
Input

This Snap has exactly one binary input view.

The required input of the snap is the Object ID and Content Type of the file that needs to be uploaded from Teamcenter.

Output

This Snap has exactly one document output view.

The output of the snap is a JSON response with object „success“ (true or false).

Learn more about Error handling.

Examples

Tc Requirement Upload Rich Content: Set Rich Content for ID

Snap settings

Note: Learn about the common controls in the Snap settings dialog.
Field/Field set Description
Label

String
Specify a unique name for the Snap. Modify this to be more appropriate, especially if there are more than one of the same Snap in the pipeline.

Default value: Tc Requirement Upload Rich Content

Configure policy

Checkbox

Select this checkbox to run the Snap with a specific named Teamcenter policy. A policy determines the set of object properties that Teamcenter returns.

Learn more: Configure policy.

Default status: Deselected

Configure session context

Checkbox

Select this checkbox to run the Snap with a group, role, or project other than the one configured in the account.

Learn more: Configure session context.

Default status: Deselected

Object ID*

String/Expression

Select the UID (unique identifier) or the Teamcenter adapter ID of the object.

Default value: $._id

Example: _paragraphID

Content Type*

Dropdown list/Expression

Specify the type of the rich content to be uploaded to the requirement/paragraph revision. The options available are:

  • html
  • docm
  • docx

Default value: docx

Example: docx

Configure error handling

Checkbox

Select this checkbox to define how the Snap behaves when Teamcenter returns an error. Use these settings for analysis and debugging.

Learn more: Configure error handling.

Default status: Deselected

Snap execution

Dropdown list
Choose one of the three modes in which the Snap executes. Available options are:
  • Validate & Execute. Performs limited execution of the Snap and generates a data preview during pipeline validation. Subsequently, performs full execution of the Snap (unlimited records) during pipeline runtime.
  • Execute only. Performs full execution of the Snap during pipeline execution without generating preview data.
  • Disabled. Disables the Snap and all Snaps that are downstream from it.