Cannot load scs file in the web viewer

I’m new to HOOPS Communicator and just started with HOOPS Communicator tutorials and in the very first tutorial I’m stuck not even getting error

I followed all the steps in the Tutorial

but cannot load microengine.scs in my webviewer

I started the server and on http://localhost:11180/ I get this

This are exact steps I perform where I’m getting wrong can someone please point me in right direction

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title> My Viewer</title>
        <style type="text/css">
            #viewer{
                width: 640px;
                height: 480px;
                position: relative;
                outline: 1px solid black;
            }
        </style>
        <script type="text/javascript" src="js/hoops/hoops_web_viewer.js"></script>
        <script type="text/javascript"  >
            window.onload = () =>{
                hwv = new Communicator.WebViewer({
                    containerId:"viewer",
                    endPointUri: "data/microengine.scs"
                });
                hwv.start();
            }
        </script>
    </head>
    <body>
        <h3>Web Viewer Minimal Example</h3>
        <div id="viewer"></div>
    </body>
</html>```

Hello @yashwant.raut,

Turns out that there is a very minor capitalization typo in your code. Rather than endPointUri, you need endpointUri.

yeah found that and it is working now.
JavaScript can be forgiving now I understand why :rofl:

1 Like