UI Page. Client Script to HTML.

Ram_n Botelho
Tera Contributor

How can I pass a variable at the Client Script to HTML, or from Processing to HTML, to manage GlideRecord?

From Client script to line 5 of HTML, please.

find_real_file.png

2 REPLIES 2

Shane41
ServiceNow Employee
ServiceNow Employee

Hi Ramon,

You might find this previous post useful:

https://community.servicenow.com/community?id=community_question&sys_id=b0795883db70a810b1b102d5ca96...

Kind Regards,

Shane

Hi, I would like to pass a 

// Client script
var data = g_form.getUniqueValue();

from Client script to a query in HTML (or Processing, returning result to HTML)

// HTML
var gr = new GlideRecord('table');
gr.get(data);

no to pass to a "form element".

Thanks.