Skip to main content
5-Regular Member
June 7, 2017
Question

Using a parameter to call a service(play)

  • June 7, 2017
  • 1 reply
  • 1767 views

Hi all,

What I would like to do, is have JS write to a parameter, and then bind that parameter to trigger a service, in this case the play of a sequence.

I cannot bind a service(play) to the parameter.

Is there any way I could use the JS parameter to trigger a service?

e.g. Onload > function > params > service

Thank you in advance!

1 reply

5-Regular Member
June 8, 2017

Hi Alexander Ouellet​,

A parameter cannot be bound a Service. But you can write a function in JS to update the parameter and then call the Service (play) in the same function.

I hope it helps.

aouellet5-Regular MemberAuthor
5-Regular Member
June 13, 2017

Do you have any guides or resources on what the structure of the JS would look like to call a service in a function?