Creating and Registering 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 Presto 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 Presto 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.