|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.query.template.LoadSingleReportTemplate
public class LoadSingleReportTemplate
Creates and persists a ReportTemplate object based on input from the command line.
Example Usage:
java wt.query.template.LoadSingleReportTemplate ReportName FolderName PathToXMLFile [ContainerPath] [-replace] java wt.query.template.LoadSingleReportTemplate MyReport /System C:/reports/MyQuery.xml "/wt.inf.container.OrgContainer=DefaultOrg/wt.inf.library.WTLibrary=Windchill PDM"
This command would create the report "MyReport" in the System folder and set the Query XML to the contents of the file "C:/reports/MyQuery.xml". If an absolute path is not specified, then the default directory will be searched (wt.loadFiles.reports). The last argument is optional and it defines the container path. If no container path is specified, then the Site container is used when creating the ReportTemplate.
The replace option "-replace" can be used to update existing reports if they exist. If the report exists, then the Query XML attribut is set and the object is updated. If the report does not exist, then the normal create is done.
Supported API: true
Extendable: false
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||