Get Viewable
Use this action to fetch the viewable contents such as 2D thumbnail, 3D thumbnail or PVZ from the representation of an Windchill entity.
Using the Get Viewable Action
To use this action in your workflow, connect it to ThingWorx Flow. To connect to the flow, do the following:
1. Drag the Get Viewable action under the Windchill connector to the canvas, place the pointer on the action, and then click or double-click the action. The Get Viewable action window opens.
2. Edit the label name, if needed. By default, the label name is same as the action name.
3. To add a connection, refer to the section Adding a Connection in the Windchill connector topic. The default value is Basic.
* 
If you previously added a connection for Windchill, select a connection from the list.
4. Select an Entity Type from the list:
Part
—Fetch viewable for a Part entity.
Document
—Fetch viewable for Document entity.
CADDocument
—Fetch viewable for CADDocuments entities.
5. Enter a comma-separated list of entity identifiers in the Windchill OID format—OR:Type:ID where, Type is the internal name of the Windchill entity type.
* 
This action supports a list of identifiers. For example, The list of identifiers are as follows—OR:wt.doc.WTDocument:352512,OR:wt.doc.WTDocument:352511
6. Select a content format from the list:
URLs Only—Get the output in the URL format. The action output contains URLs for the contents fetched for the document.
Content Stream—Get the output content as a data stream in a binary format. You can map this content to some actions such as Write File.
File—Fetch the viewable file directly in a viewable format.
7. Select a Viewable Type from the list.
PVZ
2D Thumbnail
3D Thumbnail
* 
The default value is PVZ. For information on the supported viewable types, refer to the section Filter Types in the Get Content topic.
8. Click Done.
Output Schema
The Get Viewable action returns a static output schema when you select an entity type from the list.
See a sample output schema for the Get Viewable action in the figure that follows:
Was this helpful?