question

vigneshs avatar image
0 Likes"
vigneshs asked Connor A commented

Other Defaultpagetemplate views

Hey team,

I knew that FlexSim web server we can overwrite the web page that we need to show by using defaultpagetemplate in serverinterface. FlexSim supports Javascript and html for this. Does it support any other framework like React or some other single page applications. To be precise if i have a react app or Angular web app and can I show that in the flexSim defaultpagetemplate rather than the plain html and vanilla Javascript. If yes, how can I pull and show them in FlexSim web server.


Please let me know if this needs some more detailed explanation.

FlexSim 21.2.3
flexsim webserverhtmlviews
· 1
5 |100000

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

1 Answer

Ben Wilson avatar image
0 Likes"
Ben Wilson answered Ben Wilson edited

Hi @vignesh.s ,

You can link to other scripts and stylesheets using the same <script> or <link> tag syntax that you see in the example default page template:

1632851507002.png

The "flexsimweb" folder that all these external files are being loaded from is under FlexSim's program directory. If you installed FlexSim in its default location, that should be C:\Program Files\FlexSim 2021 Update 2\program:

1632851612795.png

So go ahead and put Angular or React javascript files into the flexsimweb folder and include them into your pages as needed.

Good luck!


1632851507002.png (55.6 KiB)
1632851612795.png (22.3 KiB)
· 2
5 |100000

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