Discussions
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Join us
How to add INLINEHTML field to sublist in Suitelet
Hi,
I'm having an issue with adding an inlinehtml field as sublist field.
On header level it is going without problems.
My Code (part of it) :
define(['N/ui/serverWidget', 'N/search', 'N/email', 'N/runtime', 'N/record', 'N/log','./moment.min'],
function(ui, search, email, runtime, record, logger, moment) {
function onRequest(context) {
if (context.request.method === 'GET') {
var form = ui.createForm({
title: 'Suitelet page'
});
var company = form.addField({
id: 'custpage_company',
type: ui.FieldType.SELECT,
label: 'Company',
source: 'Subsidiary'
});
var editPage = form.addField({
id: 'custpage_edit_html',
type: ui.FieldType.INLINEHTML,
label: 'INLINEHTML'
})
var sublist1 = form.addSublist({
id: 'sublist',