A simple demo showing the functionalities of the utility network for javascript api.
Copy the html file to c:\inetpub\wwwroot\ and run http://localhost/un-js-api-demo.html
Run your favorite webserver (suggesting installing node and run npm install -g http-server
then run go to the folder where the html exists and run http-server .
You will need a utility network service running on Enterprise 10.9, you can follow the steps here to create trace configurations on your utility network, publish a webmap and share the trace configurations create webmap with trace configurations