300-835 · Question #29
A developer wants to deploy a room device. The manager wants to store data using a local JavaScript datastore. How can the developer achieve this objective?
The correct answer is B. Deploy JavaScript macros on a room device. Option B is correct because Cisco Webex room devices natively support JavaScript macros that run directly on the device, and the Macro Editor provides a built-in local key-value datastore (xapi.config / the macro localDB or key-value store API) - no external server or…
Question
Options
- ADeploy REST APIs and use webhooks to datastore
- BDeploy JavaScript macros on a room device
- CDeploy Python script to use embedded responses in a room device
- DCreate a Python script to deploy macros on a room device
How the community answered
(65 responses)- A5% (3)
- B71% (46)
- C17% (11)
- D8% (5)
Explanation
Option B is correct because Cisco Webex room devices natively support JavaScript macros that run directly on the device, and the Macro Editor provides a built-in local key-value datastore (xapi.config / the macro localDB or key-value store API) - no external server or infrastructure required.
Why the distractors are wrong:
- A - REST APIs and webhooks push data to external servers, not a local datastore on the device itself.
- C - Room devices do not have an embedded Python runtime; their native scripting environment is JavaScript only.
- D - Same issue as C: Python is not supported for macros on room devices, and macros cannot be deployed via a Python script in this context.
Memory tip: Think "JavaScript Macros = Just Made for the device" - the keyword pairing to remember is local + JavaScript = macros. Any answer mentioning Python for room device macros is always a distractor, since Cisco's macro framework is JavaScript-only.
Topics
Community Discussion
No community discussion yet for this question.