Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Hyperlinks using sendEMailMessage - they said it couldn't be done....
Topic Summary:
Created On: 28-Aug-2008 20:06
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 28-Aug-2008 20:06
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

OK, for the most part their right, however I stumbled across a way to make this work today.

I've only tested this with files, but maybe others can use this to figure out how to create other hyper links.

A few things first:

- I'm running this on 8.3 and 9.0
- I have run this with Outlook 2007 and 2003.

Restrictions:

-------------------------------

If running 2003:
- There cannot be any spaces in the path to the file (I have not tested this completely as I don't have path without spaces in it to test).

--------------------------------

- You need to use the UNC path to the drive the file is located on, not the letter drive. i.e. //myServer/my Drive

What I found is if you use a path to the file like:

//myServer/my Drive/my Folder/myFile.txt in the body of the e-mail message, Outlook will see this as a file and automatically create the hyperlink. If you use 2007 you can have spaces in the file path, but you'll need to put qoutes around it. Seeing it appears it Outlook doing the hyperlinking, I don't think there is a way to mask the hyperlink with different text.

Here's the test I used:

-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com
Report this to a Moderator Report this to a Moderator
 28-Aug-2008 20:51
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

oOoOooooOoOOO!!!

Works for websites too...Need to leave off "http://"

i.e. change: const string outputLocation = "www.yahoo.com"

-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com
Report this to a Moderator Report this to a Moderator
 9-Sep-2008 13:03
User is offline View Users Profile Print this message


Reik Schroeder

Posts: 361
Joined: 28-Jul-2003

Hi Scott,

I'm not sure what you are talking about
but I think the (older) question was to have DOORS-Hyperlinks.

MS Outlook will detect "usual" hyperlinks automatically, but not those starting with "doors://"

If you have found a way to have Doors links in sendEMailMessage function I would be very interested in how to achieve that.

Greetings
Reik

-------------------------
Evosoft GmbH
for Siemens Industry Sector


Berlin, Germany
Report this to a Moderator Report this to a Moderator
 11-Sep-2008 19:06
User is offline View Users Profile Print this message


David Jakad

Posts: 94
Joined: 20-Jul-2007

1.) Yes, it is Outlook that does the automatic hyperlinking.
2.) You don't need to use a Skip List for this.
3.) You can include spaces in file paths by using angle brackets: <\\server\\my file>
4.) You can include http:// for web links

See my revised sample:
Report this to a Moderator Report this to a Moderator
 12-Sep-2008 15:21
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

Thought I found something new...Guess not.

Good info from y'all though, I didn't know about the "<>".

-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com
Report this to a Moderator Report this to a Moderator
 12-Sep-2008 15:33
User is offline View Users Profile Print this message


Pete Kowalski

Posts: 301
Joined: 7-Feb-2003

Always remember that even the word "impossible" means "i'm possible"

-------------------------
pete.kowalski(at)motorola.com
Report this to a Moderator Report this to a Moderator
 12-Sep-2008 20:29
User is offline View Users Profile Print this message


David Jakad

Posts: 94
Joined: 20-Jul-2007

I just wish I could find a way to activate a weblink in a richField or richText DBE. You can get it to appear blue with underline, and even get the cursor to change, but when you click the link, it doesn't do anything. I guess you could mimick weblinks using canvases, and then define appropriate clickable areas on the canvas.

Another related thing you can do.... you can get DXL to auto-start an email message in Outlook, by using mailto:// instead of http://

Try:
activateURL("mailto://scott.boisvert@as.l-3com.com")
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.