question

Urvi Sukharamwala avatar image
0 Likes"
Urvi Sukharamwala asked Urvi Sukharamwala answered

Open Instance on Webserver

Hello,
Is it possible to start the instance from from our own webpage? For eg. we can create instance from our own website using "http://127.0.0.1//webserver.dll?createinstance=" + selectedProduct. However if I want to start the selected instance from website and it should directly open the below shown page, is it possible?

1712420203241.png

FlexSim 24.0.2
webserverweb communicationinstances
1712420203241.png (170.3 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.

Urvi Sukharamwala avatar image
0 Likes"
Urvi Sukharamwala answered

Hi Lancewu,

1) Use AJAX JavaScript to create instance where url = http://127.0.0.1//webserver.dll?createinstance=" + selectedProduct.

2) Then use startPressed() function from flexsim index.html page to fetch instance data. In flexsim index.html there success AJAX jquery which can be used in our website JavaScript page.

If you want in detail, give more details and share an example model and web page code, I'll try to help you.

5 |100000

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

lancewu avatar image
0 Likes"
lancewu answered Jeanette F converted comment to answer

Have you found a solution ?I am currently exploring this area and we can discuss it together

· 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.

Urvi Sukharamwala avatar image Urvi Sukharamwala commented ·
Yes, I found solution to this and we can discuss if you want.
0 Likes 0 ·
lancewu avatar image lancewu Urvi Sukharamwala commented ·

是的,我需要它。你能告诉我你更详细的解决方案吗?我非常感激

0 Likes 0 ·