import_report
Imports one or more Information Publisher report definitions from an XML file(s) using the title in the XML file and the currently logged-in CLI user as the owner of the report. If the report/owner already exists, the operation fails for this report with an accompanying error message. (You can override this with the -force option.) The report will be changed to a just-in-time report with the target type from the exported report.
You will need to edit schedules and access privileges using the Enterprise Manager user interface. The system enforces title/owner uniqueness, so an error occurs if a report with the same title and owner already exists.
Format
emcli import_report -files="file1;file2;..." [-force] [ ] indicates that the parameter is optional
Options
-
files
List of path/file name(s) of XML file(s) that contain valid report definition(s).
-
force
First delete the report (and all jobs and saved copies) if a report with the same title/owner exists.
Examples
emcli import_report -files="$HOME/reports/maint_report1.xml;$HOME/reports/file2.xml"