Hosted By

Contact Me

Misc Links

OpenNTF BlogSphere LotusGeek CoComment Custom Button

Ads by Google

Welcome to keithstric.com!

I hope you find this site useful in some way or another. I strive to bring you all sorts of geeky information and solutions to your most frustrating of issues with the occasional rant on whatever topic, technical reviews and weblog. You'll also find many products that I've developed and make available for you to use however you like. So, grab a cup of coffee, sit down and visit for a while.

« First Glimpse at What the Chrome Browser May Look Like in Chrome OS | Home Page| Android 2.0 - Google Maps Navigation »

iNotes Frustration

10/20/2009 12:53 PM By Keith Strickland

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

ID: 1
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")

ID: 2
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. Emoticon

ID: 3
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?

ID: 4
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

ID: 5
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

ID: 6
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 Emoticon

ID: 7
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?

ID: 8
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.

ID: 9
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.

Post A Comment

:-D:-o:-p:-(:-):-\:-|:angry::cool::cry::dontknow::emb::hairout::laugh::rolleyes::whew:;-)

Subscribe to keithstric.com

OpenNTF

Disclaimer

The opinions and ideas posted on keithstric.com are not necessarily the opinions and ideas of my employer. The solutions, techniques and code provided here are not guaranteed or warranted in any way and are free for you to use at your own risk.