My Suitelet fetches a couple of files from NetSuite’s file cabinet.
Here’s a snippet from the Suitelet that adds an inline HTML element to my screen and then fetches 2 files from the file cabinet and injects the contents into the inline element. It saves putting all the HTML in the Suitelet.
To be thorough, here’s the code that actually fetches the HTML prior to pushing it into the form. It is completely irrelevant to the problem at hand.
And here’s the big reveal…
Now you can find it, set breakpoints, and even see code when something blows up. Amazing!