Is the "value" parameter in setClientData() really limited to Number type?

anand_yadav
Mega Contributor

Hi everyone,

I noticed in the ServiceNow documentation for the g_form.setClientData(String key, String value) API, it states that the value parameter is of type "Number." However, in practice, it seems possible to store strings and other data types as well.

Is this a documentation mistake, or is there a specific reason for restricting the value to numbers? Has anyone else experienced this or received clarification from ServiceNow?

Looking forward to your insights and experiences!

Thanks!

0 REPLIES 0