Get Content
Use the Get Content action to retrieve content such as representation files, primary content, attachments, and so on from the Windchill objects and return them in the specified file format.
Complete the following steps to use the Get Content action in your workflow:
1. Drag the Get Content action under Windchill to the canvas, place the pointer on the action, and then click or double-click the action. The Get Content window opens.
2. Edit the Label, if needed. By default, the label name is the same as the action name.
3. To add a Windchill connector type, refer to Supported Windchill Connector Types.
If you previously added a connector type, select the appropriate Connector Type, and under Connector Name, select the connector.
4. Click TEST to validate the connector.
5. Click MAP CONNECTOR to execute the action using a connector that is different from the one that you are using to populate the input fields. In the Runtime Connector field, provide a valid Windchill connector name. For more information about MAP CONNECTOR, see Using Map Connector.
6. In the Entity Type list, select an entity type.
7. In the List of Identifiers field, provide a 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. An example of a part identifier is OR:wt.part.WTPart:646192.
8. In the Content Format list, select one of the following options:
URLs Only—Retrieve the output in URL format. The action output contains URLs for the content fetched for the document.
Content Stream—Retrieve the output as a data stream in a binary format. This content can be mapped to another action.
File—Retrieve the output in the file format.
9. Under the Filter group, click Add, and in the Filter Type list, select the file format by which you want to filter the results:
Any—All files from the representation. This is the default value.
2D Thumbnail—2D Thumbnail file from the representation.
3D Thumbnail—3D Thumbnail file from the representation.
CGM.cgm (Computer Graphics Metafile) file. Commonly used in CAD and presentation graphics.
DXF.dxf (Drawing exchange Format) file. Graphic image format used in AutoCAD.
IGES.igs (Initial Graphics Exchange Specification) file. A neutral file format for transferring 2D and 3D drawing data between dissimilar CAD systems.
JT.jt (Jupiter Tesselation) file. JT 3D data format for exchanging and visualizing data.
PDF.pdf file. Standard format for saving documents.
PLT.plt file. A vector-based plotter file containing plotting details from a CAD application.
PVZ.pvz file. File for the representation in Creo View.
STEP.stp file. A file for storing 3D image data in an ASCII format.
STL.stl (stereolithography) file. A file format for 3D printing.
VRML.wrl file. A graphics file format used by Virtual Reality Modeling Language (VRML). VRML files are used for 3D information, primarily in web pages.
Click Add to add multiple filters. Click to delete any filter that you added.
* 
These filters are applicable for representations specified in Content Type only.
10. If you selected Entity Type as Part or Document, under the Include Contents group, click Add, and in the Content Type list, select the type of content that you want to include in the output:
For Part entity type:
Representation-Default—The default representation of the part. A part can have multiple representations.
Representation-All—All representations of the part.
CAD Representation-Default—The default representation of the associated CADDocument of the part.
CAD Representation-All—All representations of the associated CAD document of the part.
Described By Document-Primary—Primary content of the document that have a Described by association with the part.
Described By Document-Attachments—Attachments of the document(s) that have a Described by association with the part.
Described By Document-All—Primary content and attachments of the documents that have a Described by association with the part.
Reference Document-Primary—Primary content of the documents that have a Reference association with the part.
Reference Document-Attachments—Attachments of the documents that have a Reference association with the part.
Reference Document-All—Primary content and attachments of the documents that have a Reference association with the part.
For Document entity type:
Primary—Primary content of the document.
Attachments—Secondary content or attachments of the document.
Representation-Default—Content from the default representation of the document.
Representation-All—Content from all representations of the document.
Click Add to add multiple content types. Click to delete any content type that you added.
11. If you selected Entity Type as CADDocument, in the Include Contents list, select the type of content that you want to include in the output:
Representation-Default—Content from the default representation of the CADDocument.
Representation-All—Content from all representations of the CADDocument.
12. Click Show Additional Fields to see additional fields.
In Get OData Annotations, select true to include OData Annotations in the output. The default value is false.
13. Click Done.
Output schema
Downloaded Content File Format
When Content Format is set to File, the Get Content action returns all the contents in the Windchill_Content_<timestamp>.zip file, with the following structure:
The manifest file lists details of all contents that are fetched.
The name of the file is Windchill_Content_Manifest_<timestamp>.csv. In the manifest file, contents are sorted as per the Windchill entities.
The zip file contains folders that correspond to each entity. The name of the folder is similar to the identifier format of the Windchill entity. All contents that are fetched for a specific entity are placed in this folder.
In the folder for each Windchill entity, a JSON file contains the metadata for the entity. The name of the file is Windchill_Metadata_<ID>.json. All the files fetched for primary contents or attachments are present or added to this folder.
For each representation, a folder is created with the representation name. The content that is fetched is placed in that folder. A sample file structure is shown in the figure that follows:
Was this helpful?