Skip to main content
12-Amethyst
May 19, 2024
Solved

i want to load the product template through load from file

  • May 19, 2024
  • 3 replies
  • 2755 views

I just unzipped the product template, i fond two xml TAG-0.xml and TAG_ContainerTemplate-0.xml. iam unable to load 

RR_11032239_0-1716100119205.png

 

Best answer by HelesicPetr

Please @RaikarRaghu 

can you understand that you use wrong container to load? 

If you download something from Windchill do not expect that you can easily load it by load from file instantly.

share the XML and others can see where is your issue.

PetrH

3 replies

Community Moderator
May 23, 2024

Hi @RaikarRaghu,

Thank you for your question. 
I’d like to recommend to bring more details and context to your initial inquiry

It also helps to have screenshot(s) to better understand what you are trying to do in your process. 

This will increase your chances to receive meaningful help from other Community members. 

Regards,

Community Moderation Team.

avillanueva
23-Emerald I
23-Emerald I
May 23, 2024

I've done this before where I downloaded the product template, extracted the files, edited and want to import back in. Are you looking at updating existing contexts? Or are you looking at updating the product template for new products? If its the latter, I recommend zipping it back up and using the web UI.

avillanueva_0-1716462262279.png

You can provide the modified template file back again.

 

As an aside, once, a long, long time ago,  I did take a product template, extract the files and make ACL changes that I want to propagate to all existing contexts.  It only allowed me to add but I took a portion of the template, not the whole thing. I had to run it for each context. In hindsight, I was better off make the changes via the UI which is a PITA but I did not have to fight with the command line.  I was able to create a check report in Excel that can help spot deviations between the ACLs which would in my case.

Community Moderator
May 29, 2024

Hello @RaikarRaghu,

 

It looks like you have a response from a community member. If it helped you solve your question please mark the reply as the Accepted Solution. 

Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.

Thanks,
Community Moderation Team.

12-Amethyst
May 31, 2024

Hi @vnamboodheri 

Thank you  for your response.

Yah i tried by loading that xml through import in UI level its importing. Now i am trying to load through loaders.

 

In the below image, i import the Tag-0.xml through UI level, template get created , and same xml i tried through loader it was failing.

RR_11032239_1-1717139020721.png

 

RR_11032239_0-1717138815433.png

this is my bat file, once i run that bat file it will execute the load command from the windchill shell.

 

error message after the running the load command

RR_11032239_2-1717141005562.png

 

12-Amethyst
June 10, 2024

Please anyone can help me to load the product template through a loafromfile utility.