Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
How to create url link column in sublist?
Hi ,
How to Create sublist link columns through SuiteScript?
I have created a sublist with few column. in which one column is url type.
var col = sublist.addField('custpage_sublist_url', 'url', 'Link',null); for(var k=1;k<5;k++) { sublist.setLineItemValue('custpage_sublist_url', k , "http://www.netsuite.com"); col.setLinkText('Netsuite'+k); }
works!! but link text is not unique. I'm getting the
Netsuite4in all sublist line. how can i get line based links. I mean each link should be unique with text.
I searched NS help center, in portlet there is something similar to this
var col = portlet.addColumn('tranid','text', 'Number', 'LEFT'); col.setURL(nlapiResolveURL('RECORD','estimate')); col.addParamToURL('id','id', true); 0