Skip to main content
Solved

pass value to executeScript function?

  • February 13, 2024
  • 1 reply
  • 40 views

Forum|alt.badge.img+8

Hi!

Is there a way to pass a value into a client script that’s called with the executeScript() function with the Smart Client?

I’d like to use a script like a function.  Pass a value in and get a result out.

The last time I tried this I used a non-database field on the screen to store a value.  The downside to this was the client would ask the user to save when the value changes even though “In Database” was unchecked for the field in custom metadata.

Thanks,

Best answer by Shneor Cheshin

Hi @csanders 

AFAIK, passing parameters values is not supported in client scripts.

Cheers!

1 reply

Shneor Cheshin
Superhero (Employee)
Forum|alt.badge.img+28
  • Superhero (Employee)
  • Answer
  • February 13, 2024

Hi @csanders 

AFAIK, passing parameters values is not supported in client scripts.

Cheers!