Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X
How can update Product container Templates by Load from file without using Windchill UI?
any Windchill shell query? or DB query?
Hi AS_10279084
Thank you for your question.
I encourage you to bring more details and context to your initial inquiry. This will make it easier for you to receive meaningful help from other Community members.
Any reason? Its very easy to do in the UI. Why would you want the complexity of loading via shell? Say you configure a product the way you like it. You can save as a template easily, download the file, edit it and reupload it back to the template with your mods. Easier than via shell.
Hi @avillanueva
I can see some cases.
1. Configure testing system without cloning production
2. Move configuration from test system to production by automatization
Iam sure that there can be some loadfromfile option to do so.
You need to go to Windchill\loadFiles and Windchill\loadXMLFiles and search for an OOTB product template and search for the xml where is the load defined for loadfromfile.
PetrH
is there any way java api to delete the templates loaded?
Hi @SS_10574885
You can use standard method to delete a object from the system.
But Iam not sure if it is good idea to delete a templates that are used.
PersistenceHelper.manager.delete()
PetrH
Yeah, from te build deployment perspective, any updates done to existing CAD templates...currently we are deleting the exisitng templates from UI and loading al our templates as CAD templates are not iteratable during loading.
So wanted to delete it through a code and load the modified templates again..