is it possible, with groovy, to change the QB CustomHeader text and if so, how?
Georg
- solved #4
- replies 3
- views 290
- stars 0
Do you mean to insert groovy code into the custom header so that it can be evaluated dynamically to get the header text? If so, this is not supported yet.
No,
I wanted to create a configuration to execute the script by user drt from his post
and then display a hint text in the CustomHeader.
Similar to the Reason text in the pause system in the admin area.
Georg
This can be done with below groovy script:
import com.pmease.quickbuild.entitymanager.*;
def systemSetting = SettingManager.instance.getSystemSettingDef();
systemSetting.setCustomHeader("your custom header");
SettingManager.instance.saveSystemSetting(systemSetting);
Please note that this script has to be run on QB server.