Mashables and Mashups : Mashups in EMML : Advanced Mashup Techniques : Defining and Using Custom Mashup Statements with Macros : Creating and Registering Macros
Creating and Registering Macros
 
Create an Individual Reusable Macro
Create a Reusable Macro Library
<macros>
Inner macros can be defined within mashup scripts or other macros and can be used only within the containing mashup or macro. You do not have to register inner macros.
Reusable macros can be used in any mashup script or other macro that is registered in the Business Analytics Server where the macro is registered. Reusable macros can also define custom action blocks in Wires for use in mashups that are created graphically.
You register individual reusable macros or entire macro libraries as either global or in a specific domain. Global macros have no domain. Global macros also include the built-in macros for Business Analytics and are always available for use in mashups or other macros.
Domains let you organize macros into useful categories and include related sets of macros easily in mashup scripts or other macros. Domain names also ensure that macro names are unique. You must explicitly include domains in mashup scripts or other macros in order to use macros from that domain. For macros that you use as custom action blocks in Wires, macro domains define the menu category where the custom block appears in Wires.
You can create individual inner or reusable macros, and register reusable macros in Mashup Editor. See Create an Individual Reusable Macro for instructions.
You can also define one or several reusable macros in a macro library and register macros in bulk using mashup utilities. Macro libraries are XML files that define a macro domain and the reusable macros for that domain. See Create a Reusable Macro Library for instructions.
Copyright © 2013-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback