cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

PLM Windchill: Locating the SQL Database Table for Attached PDFs

ozclkonur
7-Bedrock

PLM Windchill: Locating the SQL Database Table for Attached PDFs

When I attach a PDF to a CAD document in PLM Windchill, I need to find out in which table of the SQL database it is stored. I want to directly add PDFs to that table using my own interface program. Can someone who knows where the PDFs attached with Attachment are stored in PLM's SQL database tell me? This way, I can retrieve that table in SQL and use it.

5 REPLIES 5

Hi @ozclkonur 

 

The table is ApplicationData but it is not so easy as you think 😄

There are many connections linked to EPMDocument(ContentHolder),ApplicationData, DataFormat and FileVault 

 

PetrH

avillanueva
22-Sapphire I
(To:ozclkonur)

Is this part of a data load? PDFs can be generated off CAD data which is preferred process. 

Importing is documented here:

https://support.ptc.com/help/wnc/r12.1.1.0/en/index.html#page/Windchill_Help_Center/WVSLoader/WindchillVisualizationServerLoader.html

 

Fadel
22-Sapphire I
(To:ozclkonur)

take  a look at the SQLs in https://www.ptc.com/en/support/article/CS302063 , they will give an idea  on joins between applicationdata , holdertocontent and wtdocument 

 

Fede
Marco_Tosin
21-Topaz I
(To:Fadel)

Marco_Tosin_0-1702562717426.png

 

Marco
Top Tags