Calling a Macro
Once you have defined macros or included a macro domain in a mashup script or another macro, you call the macro in your mashup or other macro with a macro reference statement - an element with the macro name and the Macro Reference Namespace.
For a macro named "myMacro", for example, the call to use the macro might look like this:
<macro:myMacro domain="myDomain"/>
Note: | Examples of macro calls in this topic use macro as the prefix for the Macro Reference Namespace. |
See
Macro Reference Namespace,
Macro Domains,
Passing Input Parameters to the Macro,
Calling Macros From Another Macro and
Receiving Macro Results for information on the options and requirements of macro reference statements. You can also automatically insert macro reference statements in the
Mashup Editor. See
Adding Macro Calls Automatically in the Mashup Editor for information.