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: Default Module Baseline
Topic Summary: Open module in previous baseline for all users
Created On: 25-Sep-2007 17:13
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.
 25-Sep-2007 17:13
User is offline View Users Profile Print this message


Corey Carroll

Posts: 48
Joined: 25-May-2006

I have a module that I need to have opened in a previous baseline for all users.  When any user opens the module (which is set as Read-Only), it needs to be opened in a previous baseline.  I cannot figure out how to do this.  Any clues?  I should add that I am not a programmer, but I do know how to play around with DXL quite a bit.

Thanks,
Corey
Report this to a Moderator Report this to a Moderator
 25-Sep-2007 18:50
User is offline View Users Profile Print this message


Reik Schroeder

Posts: 361
Joined: 28-Jul-2003

Hi Corey,

this job can be done by a trigger
I've attached the code to create a trigger which will open a pre defined module version, when user tries to open current version of a module.
The opening of Baselines is possible independently.

attention: After running this script it will not be possible to open the current version of target module until you remove the trigger!

You need to specify modulename (relative to project root) and the baseline information at the beginning of the script.

Hope that helps you,

Greetings
Reik

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


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


Corey Carroll

Posts: 48
Joined: 25-May-2006

Reik,

That did the trick!  I owe you big...I never would have been able to come up with that on my own.  Thank you so much for the help!

Corey
Report this to a Moderator Report this to a Moderator
 26-Sep-2007 16:27
User is offline View Users Profile Print this message


Corey Carroll

Posts: 48
Joined: 25-May-2006

Reik...one problem. When I load a view in any module that has some sort of traceability to the module with the trigger....the module appears, and if closed, it reappears. I cannot work on the views because I cannot get the trigger module to disappear. Any ideas on how to fix this? Corey
Report this to a Moderator Report this to a Moderator
 26-Sep-2007 19:09
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

I would have written the trigger to only apply to the group of people who need to be seeing the baseline instead of the current module. This would still give you whatever you're talking about above, but would allow the Admin account (and others) to not have to see the baselined version for when you want to change things in said module without removing the trigger.

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com
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.