Skip to main content
1-Visitor
January 11, 2016
Solved

Enable publish rules for PROE error

  • January 11, 2016
  • 1 reply
  • 1837 views

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

Best answer by RandyJones

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

1 reply

20-Turquoise
January 11, 2016

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

mspencer1-VisitorAuthor
1-Visitor
January 12, 2016

Thanks Randy!  I wish PTC would update this in their documentation.