Integrate Software AG Products Using Digital Event Services 10.4 | Integrate Software AG Products Using Digital Event Services | MashZone NextGen Help | 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 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
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 MashZone NextGen 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 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.

Copyright © 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release