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: URL to DOORS object as hyperlink
Topic Summary:
Created On: 3-Oct-2007 07:57
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.
 3-Oct-2007 07:57
User is offline View Users Profile Print this message


Uma Unnikrishnan

Posts: 32
Joined: 7-Aug-2006

Hello,

Is there a way to create hyperlinks to DOORS objects within DOORS and export them to say, Word? What I'm trying to accomplish is to create a DOORS module with the requirement ID of an object and a hyperlink which would be the URL of that object. Then I would directly export it to Word and all I have to do within Word is to click on the hyperlink to access the object in DOORS.
Is this possible?

Rgds,
uma.unnikrishnan@siemens.com
Report this to a Moderator Report this to a Moderator
 3-Oct-2007 16:44
User is offline View Users Profile Print this message


Kevin Murphy

Posts: 206
Joined: 15-Jul-2005

Uma,

Without testing this myself, I am sure it's possible, though it may be a little more complicated than you like.

I think you could export the URL and the DOORS ID, and then write a word macro to convert each DOORS ID to a hyperlink containing the said URL. So you export something like

ID-123 doors://36677@dblinktoID The system shall blah blah blah

and have the macro convert any paragraph starting with ID- to make the ID- string be a hyperlink.

Read up on some VBA in Word. I don't think this would be too hard if you understand some of the basics on Word VBA.

-------------------------
Kevin Murphy
http://www.baselinesinc.com
The Requirements Management Experts
Report this to a Moderator Report this to a Moderator
 4-Oct-2007 12:45
User is offline View Users Profile Print this message


Pekka Mäkinen

Posts: 276
Joined: 18-Mar-2004

An answer to the first part of your problem: insert a Layout DXL column into view with the code

display getURL(obj)

This column (and code) will display the URL for the object and when you run an export the URL will be exported also to Word. Depending on your installation and settings the result might be a hyperlink or not (probably not), so to get it to be a real hyperlink which you can activate in DOORS you might to have to record or write a macro as Kevin suggested.

-------------------------
Pekka.Makinen@softqa.fi
SoftQA Oy -http://www.softqa.fi/
Report this to a Moderator Report this to a Moderator
 4-Oct-2007 15:58
User is offline View Users Profile Print this message


Andrew Tagg

Posts: 151
Joined: 26-Oct-2004

I have this working in Excel, will check my code tomorrow. I know I used getURL(obj) then had some DXL that would create the hyperlink in VBA. I want to do the same thing anyhow so might as well work it out and paste here. My only thought with this is that if you intend to send that document to a customer it won't work for them, so perhaps format the hyperlink to look like 'normal' text, ie black colour and no underline.

-------------------------
Andrew Tagg
Thales Air Systems, Melbourne
Australia.
andrew.tagg@thalesatm.com
Report this to a Moderator Report this to a Moderator
 5-Oct-2007 09:26
User is offline View Users Profile Print this message


Uma Unnikrishnan

Posts: 32
Joined: 7-Aug-2006

quote:

Originally posted by: Andrew Tagg
I have this working in Excel, will check my code tomorrow. I know I used getURL(obj) then had some DXL that would create the hyperlink in VBA. I want to do the same thing anyhow so might as well work it out and paste here. My only thought with this is that if you intend to send that document to a customer it won't work for them, so perhaps format the hyperlink to look like 'normal' text, ie black colour and no underline.


Well I guess as suggested by Kevin a macro will only do the job..if you do come up with something let me know..would make my job easier or i would have to take up some crash course on VBA
Report this to a Moderator Report this to a Moderator
 5-Oct-2007 19:37
User is offline View Users Profile Print this message


Kevin Murphy

Posts: 206
Joined: 15-Jul-2005

While I was falling asleep last night, I had an idea. Isn't it weird how ideas just pop into your head?

Create a shortcut on your desktop to a URL. I did this by clicking the "location" field in Internet Explorer and dragging its contents to my desktop.

I then inserted that shortcut into the Object Text of an object!

This apparently would solve this problem. So the link is not inline, but you can display whatever text you want and have a "hyperlink". Double clicking the shortcut launches your browser, and does NOT launch an in-line editor!

What do you guys think? Is this a good workaround?

-------------------------
Kevin Murphy
http://www.baselinesinc.com
The Requirements Management Experts
Report this to a Moderator Report this to a Moderator
 11-Oct-2007 08:33
User is offline View Users Profile Print this message


Uma Unnikrishnan

Posts: 32
Joined: 7-Aug-2006

Well, in my case I would want the DOORS object URLs to appear as hyperlinks..i don't  think the workaround would be helpful.
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.