eminero
04/01/2019, 9:54 PMfield.updateDisplayType({ displayType: serverWidget.FieldDisplayType.HIDDEN });
and then in a client script on a fieldChanged I am trying field.isDisplay = true
or field.isDisplay = false
based on a checkbox, however it does not work if I hide the field on a suitelet, it only works if I did not set anything on the suitelet, I want to hide the fields by default, so I am doing that in a pageInit event, does anyone know a more elegant way to do it via suitelet?