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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

import Project by LoadFromFile

VasiliyRepecki
1-Newbie

import Project by LoadFromFile

Hi.

How I can import Project data with the use of wt.load.LoadFromFile?
Where can I find examples? Based on a example WTPart import in "Windchill Data LoadingReference and BestPractices Guide" do next:

>windchill wt.load.LoadFromFile <path>\Windchill\loadXMLFiles\generalProjectTemplate.xml -CONT_PATH/wt.inf.container.OrgContainer=MuOrg/Default/Projects

And got the result code: 9 or 5. What does this code and where you can see a list of these result codes?
Is the correct method I use to load data Project?

Thanks.

1 REPLY 1

Hi Vasiliy,

Here Is an article we have on the codes returned:https://www.ptc.com/appserver/cs/view/solution.jsp?n=CS168345

Also Creation of Projects is not supported with this utility, as seen in this article: https://www.ptc.com/appserver/cs/view/solution.jsp?n=CS147502

Although looking at your example it looks like we are loading a template.
Here is an example for that:

windchill wt.load.LoadFromFile-d "C: \ ptc \ Windchill_10.1 \ Windchill \ loadFiles \ projectlink \ demodata \ PJLDemoProject.xml"
-CONT_PATH \ "/ wt.inf.container.OrgContainer = demo organization \"


Thanks,

Jarrett

Top Tags