Important Update: Archer Community Scheduled Maintenance on November 23–24 - New Community Launching Soon! Learn More..
2020-06-05 03:38 PM
Hi all,
I am trying to use the below script to hide he add new button
<script type="text/javascript">
Sys.Application.add_load(function() {
$('#master_DefaultContent_rts_ts3500_s4888_ss19772_Add_New').hide();
});
</script>
and i have inspected the correct Id for the add new button and even that is matching with cross-ref field Id,
i tried placing the code on layout and off layout in Edit mode, but didn't worked
any suggestion to make this workable .
2020-06-05 03:51 PM
Being the cross-reference is in a tab. The custom object needs to placed outside of the tab set and should be configured for Edit Mode.
Advisory Consultant
2020-06-05 03:51 PM
Being the cross-reference is in a tab. The custom object needs to placed outside of the tab set and should be configured for Edit Mode.
Advisory Consultant
2020-06-06 11:39 AM
Hi David,
Thank you !! it worked actually..