Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Hello All,
I followed Article - CS216138 and configured an option to upload local files as representations for an EPMDocument from the UI wizard (I am using Windchill 12.0.2.14). I am wondering if there is any way to automate this upload process. Support for representation upload using the loadfromfile framework is only available for WTPart, not for EPMDocument. Does anyone have any suggestions? Thanks.
Solved! Go to Solution.
This is doable for sure.
Do you know Java and the Windchill database architecture for how content is managed.
Are you adding these PDFs to an existing rep or are you replacing rep PDFs with these “local” PDFs?
What’s the use case?
One off bulk load or somehow triggered?
David
Hello @d_graham ,
Thank you for your response. I'm familiar with the Windchill database architecture for content and have some Java experience.
I want to clarify that I'm not looking to add these PDFs to an existing representation.
Instead, I'm addressing a post-migration bulk load scenario. In this context, none of the migrated .drw objects will have any representations.
Our objective is to upload representation PDFs for these EPMDocument objects using local PDFs. Could you please provide guidance on how this can be achieved?
Thank you.
Hi @TR_10627971
If you need to create new representation use this
DerivedImage.newDerivedImage();
Then link this representation to the EPMDocument and attach the local pdf file as an ApplicationData
PetrH
where use :
DerivedImage.newDerivedImage();
?????