iNotes Frustration
One of my customers tasked me with what I thought would be a simple little addition to the iNotes mail template. He wanted to add a link to the iNotesOutline that opened in a new window to his company intranet. Sounds simple right? Think again. For the life of me I can't get this to work. I've tried all sorts of stuff to no avail. Here's what I've done so far:
- Added an URL outline entry to the iNotesOutline with the URL to the intranet site (http://intranet.company.com) in the "Value" field of the outline entry properties
- In the "Frame" field of the outline entry properties tried the following _blank, "_blank", target="_blank", "target=\"_blank\"" along with a few other variations
The results:
This tries to redirect the current window to a URL like "http://intranet.company.com&presetfields=s_viewlabel;company%20intranet,s_viewname;intranet.company.com&kic&unh=qr3mi4kevl6cnv50k2reecdm21c&f8/"
I've also tried:
- Adding a new frame to the WebInteriorMailFS Frameset with a page that contains an HTML link
- This frame doesn't show up on the web
- Modifying the "Webmail Picker" page with an HTML link
- This modification doesn't show up on the web
Now, all of this really returns no results towards the desired goal what-so-ever. It doesn't even break something else, which going by my luck of late, is odd. This task is really starting to use up quite a bit of time to resolve, more time than I am comfortable charging the client so that means it's becoming expensive also. I've done this before in other applications and from my understanding you define a frame that doesn't exist to the "Frame" field of the outline entry properties and that should open the URL in a new window, not the case here. Also, if I try and view the source of the frame which contains the iNotesOutline "Company Intranet" doesn't show up anywhere and I also believe this may be rendered by a JAR file but I'm not 100% certain of that.
So, is there anyone out there dear reader that may have a solution to this issue? I'm all out of options, have a lot of wasted time and money and not to mention the frustration of something that should seemingly be simple and quick to implement taking forever and still not working.











Comments
Date: 10/21/2009 07:20:00 AM
Name: Tim C
Website: http://null
Keith
We do this - make it an action entry and use @URLOPEN("http: etc")
Date: 10/21/2009 11:11:26 PM
Name: Keith Strickland
Website: http://www.keithstric.com
Thanks Tim! I tried that, no joy. Still tried to open the url in the same window and added all that other stuff to it.
Date: 10/26/2009 12:03:20 AM
Name: Vinod Seraphin
Website: http://
Looks like you have found a real issue. Have you opened a PMR? There should be a workaround possible with JavaScript from the Scene_PostLoad callback. Which iNotes release and modes are you trying to do this customization for?
Date: 10/26/2009 09:38:18 AM
Name: Keith Strickland
Website: http://www.keithstric.com
Hi Vinod,
I have not opened a PMR as I assumed that this was an issue with what I was doing, not with the template. This issue is on a Domino 8.0.1 server running on SuSE Linux. The mail template is mail8.ntf template. As for the mode... it's not iNotes Lite if that's what you're asking.
Keith
Date: 10/27/2009 02:23:18 AM
Name: Vinod Seraphin
Website: http://
Hi Keith,
Can you try the following within the Custom_JS form within the Scene_PostLoad callback function, can you add code similar to the below:
if(s_SceneName == 'Mail' && haiku && haiku.Vv && haiku.Vv.sr) {
haiku.Vv.sr("60", 0, <label in quotes>, '', 'javascript:window.open(<url link in dblquotes>)');
haiku.Vv.update();
}
- Vinod
Date: 10/28/2009 11:19:39 AM
Name: Keith Strickland
Website: http://www.keithstric.com
Vinod,
Thank you! That worked a charm! I just need to figure out how to make it pretty now
Date: 02/19/2010 08:30:15 AM
Name: Gabriel Amorim
Website: http://
Keith,
Can you explain more how you achieved this goal. I'm having the same trouble. I tried modifying the Form8.nsf and the Custom_JS form. But it doesn't seem to work!
Can you help me?
Date: 02/19/2010 01:48:33 PM
Name: Keith Strickland
Website: http://www.keithstric.com
I opened the Custom_JS form and searched for "Scene_PostLoad" and then just copied and pasted the code that Vinod posted above @5. Be sure the replace <url link in dblquotes> with the url that you want to navigate to.
Date: 02/25/2010 11:42:33 AM
Name: Gabriel Amorim
Website: http://
Well, I can't see my previous comment posted so I'll try again. Sorry if it gets duplicated.
Keith,
I changed the iNotesOutline including an entry. I wanted this entry to open a URL in a new blank window. But whatever changes I do in Custom_JS form I can't see how to get it into the iNotes. Is there something I'm missing?
Thanks in advance.