Discussions
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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',