A macro can register feedback from events, configuration changes, and status changes on the device. The macro can listen for these events and changes, and use the API of the device to invoke further commands and configuration changes. If you combine the use of macros with custom user interface panels, you can augment the user interface with local functionality, for example speed dial buttons.
To learn more about how to make custom user interface panels, check the in-room controls article.
Create and Administer Macros
You can use the Macro Editor to create and activate macros. The editor is available from the web interface (Advanced Settings) of the device. In order to use the editor, you must either sign in through the Control Hub, or with a local Admin user on the device.
Also, there is a set of API configurations and commands for macro administration. You need a local Admin user on the device to work with macros in the API.
Launch the Macro Editor
Open the web interface of the device.
From the customer view in https://admin.webex.com, go to the Devices page, and select your device in the list. Scroll down the devices pane, and click Launch Advanced Settings. Now the web interface of the device opens.
Or, if you have set up a local Admin user on the device, you can access the web interface directly. Just open a web browser and type in http(s)://<endpoint ip or hostname>.
From the Integration tab, select Macro Editor.
If macros are disabled, you are offered the choice to Enable Macros when you try to launch the editor. Alternatively, you can enable the use of macros from the configuration page: From the Setup tab, select Configuration, and set to On.
Find more details about macros and how to use the Macro Editor in the Customization guide. Choose the latest version.
Extra learning resources are embedded in the editor:
Click Tutorial to open the Cisco Macro Scripting Tutorial. You can also download the tutorial from the editor.
Click Help to find a short introduction to using macros on a device, and some code examples to study or use.
Cisco support (TAC) doesn’t support debugging of third-party code, including macros. Please check the Cisco Collaboration Developer community if you need help with macros and third-party code. Also, there are many developer and integrator resources on this site. You can find several macro coding examples here.