Notes Client XPages - Why doesn't window.open(url) work?

Notes client xpage in 8.5.1 using javascript to build a table. The ‘onclick’ of each cell uses ‘window.open(url)’ to display a Notes document. Or it would if it worked. Instead I get:-

uncaught exception: [Exception… “Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIDOMJSWindow.open]” nsresult: “0x80004001 (NS_ERROR_NOT_IMPLEMENTED)” location: “JS frame :: http://127.0.0.1:2555/xsp/pdomrdr01!!Steve\Draft%20Group%20Calendars.nsf/xsp/GCalJSLibrary.js?SessionID=ID0-6e8196a5349d4800 :: apptDialogBox :: line 17” data: no]: line # 0 Draft Group Calendars

Anyone know why ‘open’ does work in client side JavaScript in 8.5.1 client XPage?

Subject: Works with 8.5.2

Subject: This does work, I use it…

  • Since you are using custom JS to dynamically build your HTML, I’m not sure how to assist, but I know use window.open in CSJS on XPages with some frequency, and have since R8.5.1FP2. I’m sure it worked before that, but I didn’t use it on a XPage before that. (grin)

Hope this helps…

Subject: Doesn’t work in 8.5.1

I can confirm that I too am receiving the same error running on 8.5.1 (client and server).

My code is window.open(href,“_blank”,‘toolbar=no,directories=no,location=no,status=yes,menubar=no,resizeable=no,scrollbar=no,width=380,height=250,top=200,left=200’)

EDIT: I have also tried this without the parameter but it made no difference…