Creating an XDS Policy with performance in mind
Change color on all forms
In the AOT, locate the SysSetupFormRun class and modify the run() method. After the super() method, you can add either snippet of code to change the color on all forms.
this.design().colorScheme(FormColorScheme::RGB); //set background color to yellow this.design().backgroundColor(0x63F2F2);
Or, if you would like to change it based on the current company account you are in, you can do something like this.
switch (curext()) { case "SAV1": this.design().backgroundColor(0x6E966B); //green break; case "SAV2": this.design().backgroundColor(0x63F2F2); //yellow break; case "SAV3": this.design().backgroundColor(0xA35D4D); //blue break; case "SAV4": this.design().backgroundColor(0xA3838B); //purple break; default: break; }