Is it possible to set a "run target" parameter from javascript "BeforeAction"?

I Tried


But I believe that’s probably only for setting the nearest scope variable named “msg” and not the target parameter named “msg”.
Is it possible to set the run target parameters from script?

No it’s not currently possible, the parameters object is not exposed to scripting. I did look at it and it’s not possible to do in FB8 as it would be an interface breaking change with .net based custom actions. We’ll take a look and see if it can be added in FB9.

That’s correct.

1 Like