Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
I am following CS111916 for creating additional file types for Creo documents. I want to also publish PDF and DXF along with our current PLT.
I get an error when running the command: xconfmanager -s publish.usesPublishRules=ARBORTEXT PROE -t codebase\wvs.properties -p
0 [main] ERROR com.ptc.windchill.structconf.StructConfManager - Extra unrecognized arguments: "PROE"
Am i missing a step beforehand? Or is there something the CS is not explaining?
Thanks, Max
Solved! Go to Solution.
Max Spencer wrote:
I am following CS111916 for creating additional file types for Creo documents. I want to also publish PDF and DXF along with our current PLT.
I get an error when running the command: xconfmanager -s publish.usesPublishRules=ARBORTEXT PROE -t codebase\wvs.properties -p
0 [main] ERROR com.ptc.windchill.structconf.StructConfManager - Extra unrecognized arguments: "PROE"
Am i missing a step beforehand? Or is there something the CS is not explaining?
Max: You are missing quotes around the values (since they contain a space) for publish.usesPublishRules. The xconfmanager command should be:
xconfmanager -s publish.usesPublishRules="ARBORTEXT PROE" -t codebase/wvs.properties -p
And since you are only post publishing for Creo you don't need ARBORTEXT so in your case the xconfmanager command could actually be:
xconfmanager -s publish.usesPublishRules=PROE -t codebase/wvs.properties -p
Max Spencer wrote:
I am following CS111916 for creating additional file types for Creo documents. I want to also publish PDF and DXF along with our current PLT.
I get an error when running the command: xconfmanager -s publish.usesPublishRules=ARBORTEXT PROE -t codebase\wvs.properties -p
0 [main] ERROR com.ptc.windchill.structconf.StructConfManager - Extra unrecognized arguments: "PROE"
Am i missing a step beforehand? Or is there something the CS is not explaining?
Max: You are missing quotes around the values (since they contain a space) for publish.usesPublishRules. The xconfmanager command should be:
xconfmanager -s publish.usesPublishRules="ARBORTEXT PROE" -t codebase/wvs.properties -p
And since you are only post publishing for Creo you don't need ARBORTEXT so in your case the xconfmanager command could actually be:
xconfmanager -s publish.usesPublishRules=PROE -t codebase/wvs.properties -p
Thanks Randy! I wish PTC would update this in their documentation.