Macro Domains
For macros that are registered in a user-defined domain, you must:
Supply the name of the domain in the macro call to uniquelyidentify the macro to invoke. The domain is not required for macros publishedas
global macros.
Add this domain to the mashup or macro using
<include>.
Note: | If you omit the domain name in a macro call and the macro name is not unique, the MashZone NextGen Server calls the last macro found with that name. |
For example:
<!-- call global macro -->
<macro:myGlobalMacro input="$myDoc" outputvariable="$macroResult"/>
<!-- call to macro in another domain -->
<include domain="Finance"/>
<macro:myMacro domain="Finance" input="$myDoc" outputvariable="$macroResult"/>