Home Discussions Questions & Answers Scripted XML Import via Command Line

Scripted XML Import via Command Line

Avatar photoCustomer October 7, 2019 at 9:27 am

We need to deploy reports using shell scripts in a non-interactive environment. Is there a command line utility to import report XML files?

Viewing 4 reply threads
  • Author
    Replies
    • Support October 8, 2019 at 12:33 pm  

      Yes, you can use the Linux command line utility located at **`$XXEN_TOP/bin/import_xml`**.

    • Avatar photoCustomer October 9, 2019 at 7:06 pm  

      What arguments does the command require?

    • Support October 10, 2019 at 10:29 pm  

      The command requires the APPS password and the name of the XML file: `$XXEN_TOP/bin/import_xml $APPS_PWD blitz_report_filename.xml`.

    • Avatar photoCustomer October 12, 2019 at 1:55 am  

      What is the purpose of the separate PLSQL `XXEN_API.import_xml` function if this Linux command exists?

    • Support October 13, 2019 at 1:50 pm  

      The Linux command is for non-interactive deployments, while the PLSQL function is used when you need to embed the import logic within existing PLSQL code or stored procedures.

Viewing 4 reply threads
  • You must be logged in to reply to this post.

Login with: