Updating Mashup Scripts from the Command Line
You update metadata, such as tags or the description, of a mashup in MashZone NextGen 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 MashZone NextGen, you must be the owner of the mashup (the user that first published this mashup script) or have MashZone NextGen 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 MashZone NextGen 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
MashZone NextGen.
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
MashZone NextGen.
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,
MashZone NextGen 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 MashZone NextGen administrators can change mashup names in MashZone NextGen 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 MashZone NextGen Hub.