I am generating a custom PDF document from a Suite...
# suitescript
m
I am generating a custom PDF document from a Suitelet and I'm wondering if there's a way to open that PDF file as a new window rather than having it save to the computer (as context.response.writeFile does)? I've tried window.open, but get a '"window" is not defined' error
Current code snippet
c
Copy code
context.response.writeFile({
	file: travelerFile,
	isInline: true
});
m
ahhh wow thank you so much @creece
r
window.open works from client