How to disable "Open Record" in popup view from related list view?

lrossy31
Tera Expert

Hello everybody,

I have been trying to get the open record button to not show when a preview is open from the (i) icon in the related list view but all I have found and tried has not worked. I am working on a scopped application to be more specific.

I have tried the system properties glide.sc.variable.reference.clickthrough and others that have the clickthrough as well as the client script:

function onLoad() {
if (g_scratchpad.extGrp) {
  jQuery("button.btn-ref.icon.icon-info").click(function() { 
    setTimeout(function() {jQuery("a.pop-over-button.pull-right").remove();}, 500);
    setTimeout(function() {jQuery("a.pop-over-button.pull-right").remove();}, 1000);
    setTimeout(function() {jQuery("div.sc_popup_header").find('a').remove();}, 500);
    setTimeout(function() {jQuery("div.sc_popup_header").find('a').remove();}, 1000);
  });
}
}

But cannot make it to work. If anyone has found a way to disable that Open record button will greatly appreciate if you can share, how were you able to do it.

 

Thanks.

0 REPLIES 0