In this post we will know how to name fields in suite let. When i am talking about field then it is ID of the field.
e.g
let taskName = form.addField({ id:'custpage_taskname', type: ui.FieldType.TEXT, label:'Task Name' });
in above code id is custpage_taskname
Follow the below guidelines to name id
- Always prefix the field id with custpage_
- Do not use any capital letter words in ID
custpage_name -> This is correct ID
custpage_Name -> This is incorrect ID
__Name -> This is incorrect ID as it is not prefixed with custpage
Leave a Reply