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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
how can i add image into sublist of list type?
I have stored image in recordType. I have fetched from nlapisearchrecord().
but im not getting method to get the image and set it to sublist!
var colmn = new Array();
colmn[0]= new nlobjSearchColumn('custrecord_image', null, null);
var ss= nlapiSearchRecord ('customrecord_record',null,null,colmn);
if(ss!=null)
{
for(var ik=1; ik<=ss.length; ik++)
{
var re = ss[k];
var img= re.getValue('custrecord_image');
sublist.setLineItemValue('custpage_color_col', '1' , img);
nlapiLogExecution('DEBUG', 'img-'+img, 'img');
}
is getImage() method is there ? how can i add image into sublist of list type.
0