Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
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',