Important Update: Community URLs redirect issues are partially resolved. Learn More. .
2022-06-13 04:06 PM - edited 2022-06-13 04:11 PM
Hi All,
I have a requirement to remove the Save and Save and Close button from Action dropdown, once the record is enrolled to the workflow. I have written the required custom object code to hide those button, but I am unable to hide "Does Not Advance" label. Is there a way to hide that label?
Sys.Application.add_load(function() {
var ed_mode = ArcherTech.UI.GenericContent.GetInstance().get_mode();
if (ed_mode == 1) {
var value = ArcherTech.UI.GenericContent.GetInstance().getFieldValue(24524);
if (value == 'Y') {
$('#master_btnSave1').css('display', 'none');
$('#master_btnApply1').css('display', 'none');
}
}
});
Thanks.
2022-06-13 04:30 PM
@AjitDubey, you can try
$('.tb-btn-link-left:contains("Does Not Advance")').hide();
Advisory Consultant
2022-06-13 04:30 PM
@AjitDubey, you can try
$('.tb-btn-link-left:contains("Does Not Advance")').hide();
Advisory Consultant
2022-06-13 04:40 PM
Thank you, a little modification to your code worked.
$('.dropdown-content-label:contains("DOES NOT ADVANCE")').hide();