On my xPage I have a button that generates some output/report (SSJS).
Is there a way to open a new modal or float window and put that output into it. It's gonna be a small window to show the report results. But report is gonna be a huge like few megabits. Assume it's not good idea to put the output in some scope variable line by line and then bind it to a field in new window. Any feasible solution?
It's probably worth using CSJS to call
window.open() and open a new XPage (which would effectively be an XAgent), although that will be prevented by popup blockers. Make sure to set
viewState="nostate" on the XAgent XPage though, to avoid serializing a component tree for it.