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 | Advanced Mashup Techniques | Making Mashup Scripts Dynamic | Generating Mashup Scripts Dynamically
 
Generating Mashup Scripts Dynamically
When the logic of a mashup must change dynamically, you need to create a mashup script on the fly and execute it. You can use the built-in executeDynamicEMML macro to do this. This macro is installed with the MashZone NextGen Server and is available for use in any mashup script.
Note: You can use any EMML statement in dynamic mashup scripts, with one exception. You cannot invoke another mashup that itself is a dynamic mashup script.
The executeDynamicEMML macro allows you to generate a mashup script dynamically using the <script> statement and JavaScript or using Java classes. See <script> for more information on using JavaScript. See Using Java Classes in a <script> Statement for information on using Java classes in a mashup.

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