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: Archive and Restore Page Setups script?
Topic Summary:
Created On: 10-Dec-2008 18:53
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.
 10-Dec-2008 18:53
User is offline View Users Profile Print this message


Marcie Miles

Posts: 4
Joined: 8-Nov-2006

Does anyone have a script that can archive and restore a set of page setups in a database? We are moving one project to another database, and we want to move the page setups for that project as well. All the page setup names for that project begin with the project name.
Thanks!
Report this to a Moderator Report this to a Moderator
 10-Dec-2008 19:51
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Never done it. See chapter 'Page setup functions' in the DXL manual.

You will need two scripts; one to gather all the Page Layouts in the source database and write their information to a text file; the 2nd script to run in the target database which reads the text file and sets all the page layouts.

My first impression is that these two scripts would look like the attached outlines.

Good luck.

- Louie
Report this to a Moderator Report this to a Moderator
 10-Dec-2008 20:06
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

Marcie, I am not where I can test the following approach -- but perhaps you are.

The page layout information may be contained in a folder on the server. You may be able to copy the folder to your new database and have the problem solved.

Perhaps tech support can verify this approach and provide you the name of the folder.
Report this to a Moderator Report this to a Moderator
 10-Dec-2008 23:03
User is offline View Users Profile Print this message


Dennis Lockshine

Posts: 113
Joined: 7-Apr-2003

The layouts are stored in a folder in the data directory on the server: ...\data\v6data\layout

However the layout files and layout index file are in binary format, similar to the contents of a module folder (.dtc and .ixc files).
Report this to a Moderator Report this to a Moderator
 11-Dec-2008 01:26
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

Dennis, your previous however statement probably is a false alarm and is not a show stopper. If there is possibility to use the Layout folder to achieve the desired results, the folder could work if same version "Series" of DOORS is used.

If needed, tech support can decript the required files, if the user doesn't know how to decript the files.
Report this to a Moderator Report this to a Moderator
 11-Dec-2008 01:34
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

In the preivious post, I should of used the term uncompressed instead of decrypt to be technically correct. Would of edited previous message but Telelogic messed up the form and hide the edit button.
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.