question

Fu P avatar image
0 Likes"
Fu P asked Jason Lightfoot edited

Custom Web page(Using Web server)

I already set up the web server correctly, and I want to create a custom page instead using the default page .

In my model ,I determine the parameters by reading specific rows and columns in the global table, and my results are shown in Dashboard .

I want my final page look like these

I would like to ask about the main points of the implementation process

Thanks.

FlexSim 18.1.2
webserverflexsim 18.1.2
1595816555264.png (45.3 KiB)
1595816575078.png (118.0 KiB)
1595817175086.png (69.7 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Ben Wilson avatar image
2 Likes"
Ben Wilson answered Jason Lightfoot edited

Hi @iamfph,

Coming at this question so late I didn't adequately read your request. Looks like you're wanting to build a custom web interface and you're using the FlexSim webserver?

The FlexSim webserver allows your model to serve up a custom web interface, but you'll need to be pretty familiar with both FlexSim and web programming.

To start, check out the webserver documentation. It's all good background information, but the parts that most pertain to your question are under the heading Developing Custom Web Interfaces, and in particular the sub headings Instance Queries and Default Page.

The Default Page section shows where in your model tree to look at the code that your model is serving to the web browser. Here is where you can edit FlexSim's default code until you transform FlexSim's default page into what you want.

Look that over, then if you have any specific questions, please ask a brand new question, rather than adding to this old one.

Thanks!

· 4
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

tannerp avatar image
0 Likes"
tannerp answered tannerp commented

@iamfph, the best resources for building something like this would likely be the GUI Building and Dashboard Widget sections in the User Manual. If you have a specific question, I'm happy to help answer those, but your initial question was broad, so I provided a generic answer.

Hope this helps!

· 4
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.