Tc Localized Properties Set

This Snap set locale-specific property attributes for a Teamcenter object. For example, you can set the German display name (object_name with locale codede_DE) or French description (object_desc with locale code fr_FR) of an Item Revision, depending on the configured locale settings in Teamcenter.

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

Optional.This Snap has at the most one document input view.

The required input of the snap is the Object ID and locale data that needs to update the configured locale properties in Teamcenter.

Output

This Snap has exactly one document output view.

The output of the snap is the updated object from Teamcenter

Learn more about Error handling.

Examples

Tc Localized Properties Set: Simple output example

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 Localized Properties Set

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/ Suggestion

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

Default value: $._id

Example: $.uid

Use additional refresh

Checkbox/Expression

Refresh object.

Default value: Unselected

Example: Unselected

Use deep refresh

Checkbox/Expression

In addition to a standard refresh a Deep Refresh reloads the entire structure and related references, such as BOM lines, child items, and datasets.

Default value: Unselected

Example: Unselected

Data*

String/Expression

Specify the path of the locale data in the input document.

In JSON document the content for path can look like this:

"LocaleData": {
      "object_name": {
        "locales": {
          "de_DE": {
          "value": "Mein deutsches Dokument",
          "status": "Approved"
          },
          "fr_FR": {
          "value": "Mon document français",
          "status": "InReview"
          }
        }
      },
      "object_desc": {
        "locales": {
          "de_DE": {
          "value": "DE: deutsche Beschr.",
          "status": "Approved"
          },
          "fr_FR": {
          "value": "FR: frensch descr.",
          "status": "InReview"
          }
        }
      }
    }

Default value: $

Example: $LocaleData

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.