question

Edgar Almeida avatar image
0 Likes"
Edgar Almeida asked Ben Wilson commented

Execute FlexScript when a button is clicked on FlexSim Web Pages

Is there any way to execute FlexScript in FlexSim Web Pages only when the user clicks on a button?

FlexSim 21.0.2
flexsim 21.0.2web pages
· 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.

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @Edgar Almeida,

Have you had a chance to read through the Webserver documentation?

It would be good to read the whole article, to have a good background, but then pay particular attention to the section Instance Queries.

From the documentation:

A list of default queries is available at MAIN:/project/exec/globals/serverinterface/queryhandlers. Using these as templates you can create your own custom query handlers by adding subnodes to the MODEL:/Tools/serverinterface/queryhandlers node.

Comment back with any specific questions that come up.

0 Likes 0 ·

0 Answers