WebStudio is a Web App that allows you to compile a dashboard of dynamic responsive widgets to visualize the data from your inmation system in a web browser. WebStudio uses the Web API to retrieve data from the system and allows access to your data from anywhere with an internet connection.
To begin using WebStudio immediately it is recommended that you create the WebStudio Demo Data objects in your system using the
Examples_WebStudio_Demo_Data_V<n.nn>.json
MassConfig file available on the JumpStart Resources page. Import the JSON file into a MassConfig display and click [Apply] to create the objects. This will give you a good starting point to begin creating widgets in the workspace.
Like the other Web Apps, WebStudio connects to the system through the Web API. To launch the application, open a web browser and enter the url containing the hostname of the Web API you wish to connect to and the port (default is 8002. All connection options can be found here
http://<hostname_webapi>:<port>/apps/webstudio/
When WebStudio is first opened you will be greeted by a sign-in dialog to authenticate the connection to the Web API and ultimately the core.
-
To connect, you will need to enter the Hostname and Port and an optional workspace Name (any previous connections will be saved and are made available for future use in the Saved Connections panel on the left).
-
If the Web API has been configured to communicate over https or a secure websocket (WSS), then you can turn on the Secure communication switch.
-
The authentication method for connection can be chosen at the bottom of the dialog. There is the choice of using given Credentials (the built in system Profile Credentials, Active directory, machine credentials) or a Single Sign On (SSO) method (Integrate Windows Authentication).
Complete the Sign In Dialog with details appropriate to your own system and click [Connect].
Once you have successfully signed in, the WebStudio will open with an empty model screen.
The icons in the menubar are used to create and edit views. Views/dashboards are generally referred to as compilations in inmation.
To begin adding widgets to the workspace, click on the "+" icon. This will open a Model Editor with a series of pre-configured widget template to choose from (using the WebStudio Demo Data Items).
The templates can be selected from the left hand pane and this will load
the configuration into the Model Editor. Each widget configuration is
entirely encapsulated in a JSON document as shown in the example above. The
JSON can be edited to change the configuration. In this case the "path" field of the widget pens
object was set to points directly at objects in the I/O Model of the system.
Add the widget to the compilation by clicking the [Apply]
The widget can be moved to any location in the workspace and resized using the "corner" icon in the bottom right-hand corner of the widget.
To make further configuration changes click on the {}
icon in the widgets own title-bar. Note that the same config can be found in the JSON for the compilation as a whole, contained within its widgets
array.
The following additional tools are available in the widget editor when loaded from a existing instance:
Icon | Function |
---|---|
Compare the current configuration to the "Work model". More about this when we get to "Debugging" | |
Delete this widget from the compilation |
To learn more about how to create compilations refer top the getting started pages.