In Dynamics 365 9.0 there was quite a big change regarding how to access form attributes and controls - instead of Xrm.…