Business Analytics Administration : Business Analytics Server Administration : Deploying Business Analytics Instances, Clusters or Artifacts : Importing App Metadata
Importing App Metadata
you must have an app export file to import. See Exporting App MetaData for instructions.
If you choose to import dependent mashables or mashups that exist in the export file, you must also define any datasources and drivers used by these mashables or mashups. See Importing Mashable or Mashup MetaData for more information.
1. If it is not started, start the Business Analytics Server for the Business Analytics Repository where you wish to import data. See Start and Stop the Business Analytics Server for instructions.
2. Open a command window and move to the MashZoneNG-install/prestocli/bin folder.
3. Enter this command:
padmin importApps -f input-file [-q filter]
[-s -l prestoURL] -u username -w password
[-c] [-o] [-v]
*-f input-file: is the path and name of the export file to import data from. This may be an XML file or a ZIP file.
*-q filter: defines which apps to import from the export file. The filter can be:
*"all" to import all apps from this export file. You can also use "ALL" or "*".
*"author=list-of-owner-ids", the user ID for a specific user or a list of comma-separated user IDs. This imports apps created by those users.
*"category=list-of-categories", a specific category or a list of comma-separated categories. This imports apps with those categories. Apps with no category are not included.
*"ids=list-of-app-ids", a specific app ID or a list of comma-separated app IDs. This imports those specific apps.
*"name=app-name", the name of a specific app or a list of comma-separated names. This imports apps with those names.
*"provider=list-of-providers", a specific provider or a list of comma-separated providers. This imports apps with those providers. Apps with no provider are not included.
*"tag=list-of-tags" , a specific user-defined tag or a list of comma-separated tags. This imports apps with those tags. Apps with no tags are not included.
*-l prestoUrl: is optional. Use this if the Business Analytics Server is remote or is not running in Tomcat on the default Tomcat port. If you omit this option, this defaults to http://localhost:8080/presto/edge/api.
*-u username: is the Business Analytics username to log in with. This account must have Business Analytics administrator permissions.
*-w password: is the Business Analytics password to log in with.
*-c: is an optional flag to allow the import process to continue after import errors. By default, any import errors stop all further processing.
*-o: is an optional flag to allow import information for an app to overwrite an existing app with the same ID.
*-s: is an optional flag to import all the dependent mashables or mashups in the import file. Note that imports for dependent artifacts is not affected by any filtering.
*-v: is an optional flag to turn on verbose logging.
Messages and errors from the import process are sent to the console window (stdout).Once the import is successfully finished, you may confirm that apps have been imported in Business Analytics Hub.
Example
The following example, imports all the apps from a file named MyorgApps.xml.
padmin importApps -f MyorgApps.xml -u Administrator -w manage
The following example from a Windows environment, imports data from a file named MyorgApps.xml and logs all messages or errors from the import process to a file named AppImport.log.
c:\Program Files\JackBe\version\prestocli> padmin importApps
-f MyorgApps.xml -u Administrator -w manage >> AppImport.log
Copyright © 2013-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback