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

Running transform maps asynchronously

Post a command to the ECC queue for the mid server to initiate a powershell file copy

GlideRecord setValue