You can extend the mashup capabilities of Presto Wires by adding custom action blocks with logic to meet your specific needs. Custom action blocks are defined as macros - custom EMML statements - with additional metadata that allows Wires to load and work with the macro.
Note:
This topic includes two examples to take you through:
A simple macro meant for use with specific, well-known results
A generic macro that can handle a wider variety of results.
To create a custom action block in Wires, you must create the macro with appropriate code to enable its use in Wires and then save and register it with the Presto Server. See Creating and Registering Macros for the basic steps involved in creating and registering macros. See <macro> for basic instructions on defining macro logic.
When a macro will be used as a custom Wires block, there are additional requirements and optional designs to consider: