Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
I am at the command line running the following statement
C:\ptc\Windchill_9.1\Windchill>windchill wt.load.LoadFromFile -d test.xml -u wca
dmin -p windchill -CONT_PATH=/wt.inf.container.OrgContainer=MyOrg/wt.pdmlink.PDMLin
kProduct=TST
and all that seems to happen is it returns 7.
Is there a document that tells me what these return codes mean? (I've seen 3 before as well)
Thanks,
Daniel Fick
Daniel
I suppose, you;re getting the following error:
java.lang.ArrayIndexOutOfBoundsException: 7
Use the following rules for the CONT_PATH argument:
1) Do not use '=' right after CONT_PATH, use space instead.
2) Put the string after CONT_PATH in quotes
I'm not sure the 2) is required (but I always use it so I don't care if I have spaces in a context name), but 1) is.
Example:
windchill wt.load.LoadFromFile -d LoadMyReport.xml -u wcadmin -p pass -CONT_PATH "/wt.inf.container.OrgContainer=MyOrg/wt.pdmlink.PDMLinkProduct=MyProduct"