Hello,
I have one field set on visible in many screens. I want to change it to hidden using groovy. Can anyone help me with this?
This is my not working code
CustomFieldManager customFieldManager = ComponentAccessor.getCustomFieldManager()
CustomField customField = customFieldManager.getCustomFieldObject(11111)
def valueOfCustomField = customField.g
Collection<CustomField> allCustomFields = customFieldManager.getCustomFieldObjects()
for(CustomField e : allCustomFields){
log.info(e.getName())
}