Saturday, June 15, 2019

Add an Image to a Suitelet Form

To add an Image to a suitelet form, you can add a field of type inline html. You can then use the "<img>" tags to add your image. Below is a sample suitelet script that displays an image.

function suitelet(request, response){

 var form = nlapiCreateForm('Form with Image');


 // add the url of the image
 var img = ""; // Use the url in file cabinet

 var image_tag = '<img src="'+img+'"/>';



No comments:

Post a Comment