Cancel
Showing results for 
Search instead for 
Did you mean: 

PDF IMPORT INTO TEAMCENTER

Experimenter
Experimenter

Hello all,

My company has alot of old PDFs in our local database.

I would like to create ITEMS in Teamcenter importing only the PDF file dataset.

Does anybody know a way to import in bulf PDFs into Teamcenter?

2 REPLIES 2

Re: PDF IMPORT INTO TEAMCENTER

Gears Phenom Gears Phenom
Gears Phenom

Depends on your version of TC. Look at the bulk loader and csv2tcxml. You'll need to create an input csv file in the correct format to use with the csv2tcxml. Csv2tcxml will transform the data to tcxml and you will import it. Search the Teamcenter forums for csv2tcxml.

 

 

 https://community.plm.automation.siemens.com/t5/Teamcenter-Administrators-Forum/csv2tcxml-TCXML-data...

 

 

Regards,

 

Jamie Griffis | Teamcenter Architect | Applied CAx, LLC

Jamie Griffis | Teamcenter Architect | Applied CAx, LLC
Highlighted

Re: PDF IMPORT INTO TEAMCENTER

Valued Contributor
Valued Contributor

 

The general procedure for importing PDF files in batch mode is as follows:

 

Step 1: If items do not exist to store the files run the ps_upload utility from a Teamcenter shell to create the items where the new datasets will be stored.

 

e.g.

 

ps_upload -u=userid -p=password -g=group -t=Document -i=ps_upload.txt

 

Where “ps_upload.txt” is a file containing the items you want to create containing the Item ID & name of the item. Sample contents below.

 

# item name
1234567, Bolt
1234568, Washer

 

 

Step 2: Exectute import_file to import the file to the appropriate dataset type and attach it to the desired item revision.

 

e.g.

 

import_file -user=user-id -p=password -g=group -i=my_files.dat

 

Where “my_files.dat” is a file that contains information about the files you need to import.

 

-f=1234567_A.pdf -d=1234567_A -type=PDF -ref=PDF_Reference -item=1234567 -rev=A
-f=1234568_A.pdf -d=1234568_A -type=PDF -ref=PDF_Reference -item=1234568 -rev=A