Bruce Elgort

Now how can I do this in the Notes client
Wednesday, June 18th, 2008
I want to be able to present a text link and/or URL in a view column that a user can click on to launch a website without them having to open up the document. Is there any way to do this in the Notes client? I know I can use an action button but this to me is unacceptable. Anybody? If there is no way to do it I may have to post an idea on IdeaJam. This is clearly Notes should be able to do.

LinkJam Notes UI



 
Comments

Comment posted by Tim Tripcony06/18/2008 08:59:28 PM
Homepage: http://www.timtripcony.com


Manual trackback:
http://planetlotus.org/293358

Not the most elegant approach, perhaps... but it works.


Comment posted by Ian Armstrong06/18/2008 11:46:26 PM


Hey Bruce. Try this:

http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/950c0501dd53367b8525746b001cc61b?OpenDocument

Cheers, ian


Comment posted by Don McNally06/19/2008 05:13:59 AM
Homepage: http://dmcnally.blogspot.com


I have an application (written 6 years ago and not modified much since) that uses the NotesUIWorkspace.URLOpen method in the PostOpen event to open a URL defined in the document. You need a different way to edit the document (I use a dialog box) and it requires a double click to open the link, but it works.


Comment posted by Dave Lemaster06/19/2008 05:57:04 AM


I use the inviewedit event to check for a web or email address in the doc and either open a url or create a new mail message depending upon the icon/column you clicked on.
caret = Source.CaretNoteID
Set doc = db.GetDocumentByID(caret)
If Colprogname(0) = "mailcolumn" Then
If doc.MailAddress(0) = "" Then
Exit Sub
End If
Call maildb.OpenMail
Set maildoc = maildb.CreateDocument
maildoc.Form = "Memo"
maildoc.SendTo = doc.MailAddress(0)
Call ws.EditDocument(1,maildoc)
Elseif Colprogname(0) = "webcolumn" Then
If doc.WebSite(0) = "" Then
Exit Sub
End If
Call ws.URLOpen(doc.WebSite(0))
End If


Comment posted by Ranjit06/19/2008 06:11:00 AM


As Dave suggests, you could use the InViewEdit event to have a column click launch the URL. LotusGeek contains some great descriptions, and Martin recently wrote about how you could indicate whether a column was 'programmed', to provide a visual clue to the user as well.


Comment posted by Peter Presnell06/19/2008 08:06:58 AM
Homepage: http://www.bleedyellow.com/blogs/dotdomino/


Add this to your list of options. Create a form the has the form properties set to "Launch first URL". Then assign a form formula to the view that uses this form. The form need only have a single field "URL".


Comment posted by Bruce06/19/2008 11:53:59 AM


@All,

You guys rock! Problem solved. Thanks again.


Comment posted by Gregg Bendtsen08/21/2008 01:34:00 PM


You didn't say which of the suggestions you used? Can you let us know?


Add Your Comments



Email addresses provided are not made available on this site.





You can use UUB Code in your posts.

[b]bold[/b]  [i]italic[/i]  [u]underline[/u]  [s]strikethrough[/s]

URL's will be automatically converted to Links


:grin: :-D :-\ :-o :angry: :cool: :-p :emb: :cry: :huh: :-x :rolleyes: :-) :laugh: :-( ;-)






Remember me    



Bruce Elgort






Contact Bruce