You can use web pages to create HTML interfaces in your model. Web pages added to the model are shown in the Toolbox.
When using the FlexSim Webserver, you can access each web page by name. The default page shown when connecting to a model instance using the webserver is in MAIN:/project/exec/globals/serverinterface/pagetemplates/default. If you name one of your web pages "defaultpage" then your page will be used as the default web server page for the model instead.
To interact with the model, you should use custom web queries. If you use custom web queries instead of firing FlexSim events directly, then your web page will work properly within the software and when used with the webserver.
You can reference external files (such as images, scripts, and style sheets) using the following special keywords at the beginning of the path.
For example, the line below references an image file in the model directory.