I created an html page. I want to upload it on the...
# suitescript
s
I created an html page. I want to upload it on the screen. I know I have to use load but load by itself doesn't display on the screen. I'd like to do it with 2.1 Anyone has an example ?
r
Kinda depends on where and how you're trying to do this - the below snippet may help though? var htmlFile = file.load({ id: '6611106' }); var htmlContents = htmlFile.getContents(); context.response.write(htmlContents);
s
thanks