How to call UI script in client script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2016 06:12 PM
I created a simple ui script, as mentioned below. How can I call this from client script?
function displaytitle()
{
var a= g_form.getValue('number');
var b= g_form.getValue('short_description');
if(a && b)
{
top.document.title= a +'-'+ b;
}
else
{
alert('hello');
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2018 05:21 AM
Hi Sunny,
Please check with this ., It might be helpful for you
ScriptLoader.runScripts('ui script name' , function(){})
using this you can call ui scripts from client script but before create a macro and related formatter and then add it on your table.
check with this link of calling ui script in London version
Thanks & Regards,
Rupesh Pulamarasetty