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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Using a xml spec file in the Business Administrative Change Utility

Leon_Dietz
4-Participant

Using a xml spec file in the Business Administrative Change Utility

I am currently trying to export every LifeCycle with a specific Name, from our test Server.
I created the xml File and wanted to use the wt.scm.client.SCMCMD export command with the spec file.
However, whenever I try to write this command specifically:

windchill wt.scm.client.SCMCMD export -u "<username>" -p "<password>" -t "<target name>" -s "<Spec File>" -b "<start time>" -e "<end time>" -n "<package name>" -d "<description>" -o "<file path>"

Of course filled out with my specifics, I always get invalid Object type.
I think that's because with the normal command:

windchill wt.scm.client.SCMCMD export -u "<username>" -p "<password>" -t "<target name>" -s "TypeDefinition" -b "<start time>" -e "<end time>" -n "<package name>" -d "<description>" -o "<file path>"

 The TypeDefinition is at the place of the xml path now.
I don't know if that is a general problem with the command, or if it would read the Type from the xml and I have a mistake in it.
Just to be save I will also attach a picture of the Xml File.

Thanks

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Leon_Dietz 

Check the help if you set the wt.properties

Creating a Spec XML File

HelesicPetr_0-1695801236416.png

PetrH

View solution in original post

2 REPLIES 2

Hi @Leon_Dietz 

Check the help if you set the wt.properties

Creating a Spec XML File

HelesicPetr_0-1695801236416.png

PetrH

Hello PetrH,

I had the property set simply to true, not to 2666518.
So it is working now thank you! 😅

Top Tags