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: Copying Object Text through inlinks
Topic Summary:
Created On: 14-Mar-2006 19:15
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.
Answer This question was answered by Kelley Miles, on Tuesday, March 14, 2006 10:15 PM

Answer:
Thanks again.
 14-Mar-2006 19:15
User is offline View Users Profile Print this message


Kelley Miles

Posts: 9
Joined: 15-Dec-2005

I need to use an inlink to grab the object text of the source module that is linked and put it as an attribute of the target module at the link. The application is so that I can see an old requirement wording next to a new one. Could someone help me understand how to make this happen? I have written code to print the information out but I need it as an attribute inside the database. Thanks, Kelley
Report this to a Moderator Report this to a Moderator
 14-Mar-2006 19:42
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

If you don't know dxl -- easiest approach for you is to export the view into a csv file and then reinport into DOORS.
Report this to a Moderator Report this to a Moderator
 14-Mar-2006 19:46
User is offline View Users Profile Print this message


Kelley Miles

Posts: 9
Joined: 15-Dec-2005

I do know DXL. I'm almost there, I believe. I just need to assign the src."Object Text" to the trg."a_textSSSv1" attribute.
Report this to a Moderator Report this to a Moderator
 14-Mar-2006 19:54
User is offline View Users Profile Print this message


Kelley Miles

Posts: 9
Joined: 15-Dec-2005

I believe I got it. Apparently, you cannot assign it directly. I had to assign the src."Object Text" to a variable and then assign that variable to trg."a_textSSSv1". Seems rather cumbersome but there it is.
Report this to a Moderator Report this to a Moderator
 14-Mar-2006 20:01
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

You needed to put two double quote after the src."object Text" like this
trg."a_textSSSv1" = src."Object Text" ""
Report this to a Moderator Report this to a Moderator
 14-Mar-2006 20:20
User is offline View Users Profile Print this message


Kelley Miles

Posts: 9
Joined: 15-Dec-2005

Yes. Thanks. I remember that from the class now. Follow-up question: Is there an easy way to copy over whatever inlinks that src."Object Text" has?
Report this to a Moderator Report this to a Moderator
 14-Mar-2006 20:25
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

If you mean to create links then yes you can do this by iterating thru the inlinks of the src object and creating links with the
trg<-"Link Module" <-obj_link

where obj_link is the source of the link and of course the formal module of the source must be open in edit mode.
Report this to a Moderator Report this to a Moderator
 14-Mar-2006 22:15
User is offline View Users Profile Print this message


Kelley Miles

Posts: 9
Joined: 15-Dec-2005

Answer Answer
Thanks again.
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.