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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Update Product templates by loadfromfile.

AS_10279084
2-Explorer

Update Product templates by loadfromfile.

How can update Product container Templates by Load from file without using Windchill UI?
any Windchill shell query? or DB query?

6 REPLIES 6

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.

Regards,
Andra
avillanueva
22-Sapphire II
(To:AS_10279084)

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..

Announcements

Top Tags