---
# System prepended metadata

title: Nx Witness In-Client JavaScript API

---

---
tags: Touch Cloud
---


- [In-Client JavaScript API](https://support.networkoptix.com/hc/en-us/articles/7824920658327-In-Client-JavaScript-API)

    - Offical Example: [Creating a Web Page with the JavaScript API](https://support.networkoptix.com/hc/en-us/articles/7824921447319-Creating-a-Web-Page-with-the-JavaScript-API)
    - Non-offical Example: [Nx OpenStreet Map integration configuration](https://docs.google.com/document/d/1toCjY54Qjvx3cVvv7xT63pHcOZkgogskSvO_p86kDPU/edit)
    - Another example: "192.168.2.91:/workspace/NX/OpenStreet Map integration"

- Development
    - 1. Install the [Nx Witness Client 5.x.x](https://nxvms.com/download/)
    - 2. Connect the Nx Witenss Server 5.x.x
        - IP: 61.216.90.111 (LAN .88)
        - Port: 7002
        - Login: admin
        - Password: admin12345
    - 3. Open the Webpage (enable the "Allow using Client API" )

- Notes
    1. Camera list: `window.resourcesList`
        `id`, `value`
    3. Scene item list: `window.sceneItemsList`