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: New Cps
Topic Summary: DXL script to list New CPs in database
Created On: 27-Sep-2007 17:09
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.
 27-Sep-2007 17:09
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

Attached is a script that list 'New' Change Proposals in entire database.

Output can be saved with .csv file extension and excel can read the file.

The script address the issue of DOORS does not sending notification by email when a new Change Proposal (CP) is submitted.

The theory behind the script is that the script can be ran periodically to summarise any CPs that have status equal to new.

Based on user permissions -- the script will go thru all CP modules that the current user can read and generates a summary report compatible with excel. The excel report can be analyzed or emailed as deemed appropriate by the user --- Thus keeping users from culling thru multiple modules looking for new CPs and avoiding surprises at a ''review board''.

Note: This script does not work on older version of the CP system -- Script was developed in DOORS 8.1.

Edited: 29-Oct-2007 at 12:07 by ron lewis
Report this to a Moderator Report this to a Moderator
 1-Nov-2007 18:39
User is offline View Users Profile Print this message


Nancy Smith

Posts: 11
Joined: 19-Jul-2006

Ron, thank you for this script. Is it possible for me to edit the include file? It would be helpful to some of our users if the output displayed some additional attributes. I tried opening it in dxl and visual studio without success. Thank you, Nancy

Report this to a Moderator Report this to a Moderator
 11-Jun-2008 09:46
User is offline View Users Profile Print this message


Murugaraj S

Posts: 38
Joined: 8-May-2007

Its not work for me. Can I get the full code. Thanks!
Report this to a Moderator Report this to a Moderator
 11-Jun-2008 15:12
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

Sometime the forum drops attachements -- here is the include file again.
Report this to a Moderator Report this to a Moderator
 4-Jul-2008 15:40
User is offline View Users Profile Print this message


Murugaraj S

Posts: 38
Joined: 8-May-2007

Can anyone tell me, How it works. I tried this, But doesn't work for me. Thanks
Report this to a Moderator Report this to a Moderator
 4-Jul-2008 18:42
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

Put the ListNewCps.inc in the folder as defined below and launch the script with
a dxl script as follows:


//<ListNewCPs
/*List CP in Database by Ron Lewis
Example deployment:
Place file in:
C:\Program Files\Telelogic\DOORS_8.1\lib\dxl\addins\user

or equivalent and use:
#include <addins/user/ListNewCPs.inc>

to launch from user pulldown menu in a formal module.
*/
#include <addins/user/ListNewCPs.inc>
Report this to a Moderator Report this to a Moderator
 6-Nov-2008 10:44
User is offline View Users Profile Print this message


Harald Brandes

Posts: 2
Joined: 11-Jan-2007

Ron,

that was a very good idea. It works well. Would it not make sense to also enable search for items with other status? Could you provide a handle for that? Or can you give us an editable include file?
Thank you
Harald
Report this to a Moderator Report this to a Moderator
 6-Nov-2008 14:33
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

Harald

Here is different script that I originally wrote that is launched from the following script.

ListCPs provides more capabilities and a GUI.

Note. This launch script expects to find the include in the user folder
(I only provided this demo for ease of new users getting it up and running.
But for more advanced users there are better places to include the script.)

///////////////////////////// ListCPs Launch Script Demo Follows ///////////////////225
//<ListCPs
/*List CP in Database by Ron Lewis (c)
Example deployment:
-- Place file in:

C:\Program Files\Telelogic\DOORS_8.1\lib\dxl\addins\user

-- or equivalent and use:

#include <addins/user/ListCPs.inc>

-- To launch use -- user pulldown menu in a formal module.

-- ListCPs currently will not work on DOORS V9.1 or above

-- ListCPs will list Object text of CPs and two additional attributes of user selection.
-- ListCPs will let user select one status value i.e, New, Rejected, Approved etc.
-- Use ListCPs at your own rish -- no warranties are given or implied.
-- ListCPs is only provided as a demo of what is possible.
-- Any comments can be mailed to Ron_Lewis@hotmail.com
*/
#include <addins/user/ListCPs.inc>

//If launched as described in this demo, user has to launch from formal module pulldown list "User".
//Advanced users can put the script in location as desired.

//If you download make sure the file has name ListCPs.inc


//ListCPs.in in in subsequent response -- Forum deleted the file and will not reattach

Edited: 6-Nov-2008 at 20:13 by ron lewis
Report this to a Moderator Report this to a Moderator
 6-Nov-2008 17:38
User is offline View Users Profile Print this message


Harald Brandes

Posts: 2
Joined: 11-Jan-2007

Ron,

I tested it. Very useful. Thank you very much.

Cheers
Harald
Report this to a Moderator Report this to a Moderator
 6-Nov-2008 20:10
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

ListCPs.inc attached
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 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 2 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.