RE: Ribbon Button Visibility Control
Hi Onur,
1..Add refresh javascript code to the job field onChange event.
(1)Js code:
function refreshRibbonOnChange() {
Xrm.Page.ui.refreshRibbon();
}
(2)Add js as web resource.
Go Settings > Customizations > Customize the system > Web Resource.
(2) Add it to the field onChange event.
Go Settings > Customizations > Customize the system > entities > entity you need > forms to open main form, then click 'Form Properties'.
if you want to show changed after clicking save button, you can add it to the onSave button.
2.You need do following settings in ribbon workbench.
(1) Set Job Start button.
(2) Set Job Done button.
3.Test.
(1)Job field is null.
(2)Job field is not null.
Regards,
Leah Ju
Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.