How can I hide custom field with specified ID from all Field Configuration using Groovy?

lpopek August 23, 2018

I have a list of Field Configurations with different names. For each one I want to hide specified CF.  Is it possible to do it with Groovy? Thanks for answers 

1 answer

0 votes
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 22, 2022

Hi @lpopek ,

you can do that using the following code :

def field = getFieldById("customfield_YOURIDHERE");

field.setHidden(true);

Hope this helps,

Fabio

Suggest an answer

Log in or Sign up to answer