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
Reuben Joyce
04/19/2023, 12:58 AM
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);