Hi, I trying to create a button on the Touch 10 attached to a Webex Room 55. I created a button in the UI Extensions configuration and gave it the ID "standby_button". I then created a macro with the following script:
const xapi = require('xapi');
xapi.event.on('UserInterface Extensions Page Action', (event) => {
if(event.Type == 'Opened' && event.PageId == 'standby_button'){
xapi.command('Standby Activate');
}
});
I made sure to the macro was toggled to active.
The button appears on the Touch 10, however nothing occurs when I click on it. Am I missing a step to get the macro running?