Skip to main content
1-Visitor
April 12, 2017
Solved

Update Query Builder Report - Windchill Shell

  • April 12, 2017
  • 1 reply
  • 3650 views

Hello,

Does anyone know what the command is (if there is one) to edit reports in the query builder using the Windchill shell?

Ideally I'd like to be able to completely replace a report already in the Query Builder with a .qml file, but still keep the original report ID.

If this isn't possible, does anyone know the command to just upload a new report to the Query Builder in the form of a .qml file (I'm fairly sure that this is possible as I believe I've done it before)?

Any help is greatly appreciated!

Many thanks,

Best answer by BineshKumar1

You can run a command similar to this

java wt.query.template.LoadSingleReportTemplate PSG_Method_RegenReport  /System E:/PSGreports/PSG_Method_RegenReport.xml "/wt.inf.container.OrgContainer=Orgname" -replace

1 reply

1-Visitor
April 12, 2017

You can run a command similar to this

java wt.query.template.LoadSingleReportTemplate PSG_Method_RegenReport  /System E:/PSGreports/PSG_Method_RegenReport.xml "/wt.inf.container.OrgContainer=Orgname" -replace

1-Visitor
April 13, 2017

Worked perfect thanks!