Appendix : Legacy Presto components : Mashables and Mashups : Mashups in EMML : Mashup Utilities : Updating Mashup Scripts from the Command Line
Updating Mashup Scripts from the Command Line
You update metadata, such as tags or the description, of a mashup in Business Analytics Hub just as you would with any mashable information source that you had published.
To update the behavior of mashup scripts that you have published in Business Analytics, you must be the owner of the mashup (the user that first published this mashup script) or have Business Analytics administrator privileges. You can update the mashup in Mashup Editor or use the command line.
To update a mashup from the command line
1. Edit the EMML file for the mashup, as needed. See Creating a Mashup Script with EMML for information on EMML options.
2. Turn the mashup off in Business Analytics Hub.
3. Test the new mashup script.
See Testing Mashup Scripts from the Command Line for instructions.
4. Open a command window and move to the presto-instalation/prestocli/bin folder.
You may wish to put a copy of the updated mashup script in this directory to simplify paths.
5. Enter the emmlupd command in this form:
emmlupd -f mashup-script-filename -u user-name -p password [-url remote-presto-url -s mashup-ID]
*Use your user name and password for Business Analytics.
*The URL is optional. It defaults to http://localhost:app-server-port/mashzone/edge/api where app-server-port is the port defined when you installed Business Analytics.
If you need to update this mashup on a remote server or the default host or port is incorrect, use -url http://app-server:port/mashzone/edge/api with the appropriate application server address and port.
*The mashup ID is optional. If you omit this option, Business Analytics uses the name for the mashup supplied in the <mashup> tag in the mashup script to identify the mashup to update.
Tip:  
Mashup owners and Business Analytics administrators can change mashup names in Business Analytics Hub. It is a good practice to provide the mashup ID to properly identify the mashup you want to update.
6. Turn the mashup back on in Business Analytics Hub.
Copyright © 2013-2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback