cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
143
Views
1
Helpful
2
Replies

Issue with Macro After Codec Auto-Update

After the recent codec auto-update, we encountered an issue where the macro stopped working. Specifically, we were receiving the following error:

'module undefined'

This error effectively locked the entire macro, preventing any part of it from running. To get things working again, we had to comment out the following line and all other references to module:

// const localCallout = new GMM.Connect.Local(module.name.replace('./', ''))

Could you please investigate and confirm the root cause of this issue?

2 Replies 2

For anyone on the community to give you any help with this you'd need to provide a little more detailed information that that. To start with please share the entire macro as an attached file so we can look at the entire code.

Please note that this is a community that is served by none Cisco employees on their own free time. It's not the official support from Cisco. For that you should engage TAC.



Response Signature


Jonathan Schulenberg
Hall of Fame
Hall of Fame

Also review the Deprecation of legacy (CommonJS) Javascript syntax for RoomOS Macros heading of the Cisco Macro Scripting Tutorial. That may be causing or contributing to your issue.