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: Import Alphabetically
Topic Summary:
Created On: 26-Sep-2008 20:22
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 ron lewis, on Monday, September 29, 2008 3:17 PM

Answer:
I am not refering to the built in DOORS function which doesn't re-arrange the objects in the module but re-arrange the objects in the view.

A script to rearrange the objects based on an attribute can work, if you design the script to only concentrate on defined objects. Or you can do the sorting manually.
 26-Sep-2008 20:22
User is offline View Users Profile Print this message


Christienne Mancini

Posts: 18
Joined: 30-Aug-2006

Is there an easy way to import new objects from Excel in alphabetical order with the objects already within the module.
Report this to a Moderator Report this to a Moderator
 27-Sep-2008 14:18
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

I am not able to understand your requirement, but I am going to take a guess at the answer.

The answer may be to obtain a dxl script that will sort object based on the attribute you are wanting in order. Then inport in order is unimportant.

There may be a sorting script in the kitchen script or in the examples included on your client. I know there is a sort function in an include file from kitchen script that you could use.

If this is not the solution -- please clarify your requirement statement.

Edited: 27-Sep-2008 at 14:29 by ron lewis
Report this to a Moderator Report this to a Moderator
 29-Sep-2008 12:52
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

First import, then sort. Don't try to sort while import. It would complicate things.

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com
Report this to a Moderator Report this to a Moderator
 29-Sep-2008 15:01
User is offline View Users Profile Print this message


Christienne Mancini

Posts: 18
Joined: 30-Aug-2006

I have glossary and acronym modules that are already sorted alphabetically. I want to import new terms and have them import into the correct alphabetic location. I'm not using the DOORS sort function, the objects are located int he proper alphabetic location.
Report this to a Moderator Report this to a Moderator
 29-Sep-2008 15:05
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

Answer Answer
I am not refering to the built in DOORS function which doesn't re-arrange the objects in the module but re-arrange the objects in the view.

A script to rearrange the objects based on an attribute can work, if you design the script to only concentrate on defined objects. Or you can do the sorting manually.
Report this to a Moderator Report this to a Moderator
 29-Sep-2008 15:18
User is offline View Users Profile Print this message


Christienne Mancini

Posts: 18
Joined: 30-Aug-2006

Thank-you. That should work. I was concentrating on trying to sort when importing.
Report this to a Moderator Report this to a Moderator
 29-Sep-2008 15:29
User is offline View Users Profile Print this message


Tony Goodman

Posts: 97
Joined: 6-May-2008

Something like this should do it.

Just change the attribute name at the bottom of the script and it will sort (move) all the objects alphabetically according to the value of that attribute.

-------------------------
Tony Goodman
Smart DXL limited
www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 29-Sep-2008 22:02
User is offline View Users Profile Print this message


Christienne Mancini

Posts: 18
Joined: 30-Aug-2006

Thanks so much Tony, that worked really well.
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.