Hide/show related list on form

locate the related list ID under 'system UI > related lists'
then use script as below:

show:
function onCondition() {
   
    g_form.showRelatedList('u_task_vendors.u_task');
}
hide:
function onCondition() {
   
    g_form.hideRelatedList('u_task_vendors.u_task');
}

Comments

Popular posts from this blog

GlideRecord setValue

variable advanced reference qualifier example

Running transform maps asynchronously