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
2. Turn the mashup off in Business Analytics Hub.
3. Test the new mashup script.
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/presto/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/presto/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.