https://netsuiteprofessionals.com logo
m

mtoniato

05/10/2022, 6:51 AM
Hello, I am building a Suitelet with a custom sublist. Its columns should depend on the permissions on the fields of a record. Is there a way to get read/write permissions of a field without using a try/catch approach? Thanks in advance.
Sorry for the stupid question. The key is getColumn instead of getSublistField.
Copy code
sublist=response.getSublist({sublistId:"item"});
    suggested=sublist.getColumn({fieldId:"custcol_fieldname"});

    log.debug(suggested.isDisabled);