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: Copy Views with DXL
Topic Summary: Copy Views with embedded Filters & layout DXL in columns
Created On: 19-Jan-2005 18:41
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 Joshua Clark, on Thursday, January 20, 2005 3:16 PM

Answer:
I found a bit of code that works perfectly!  Thanks to the author Michael Sutherland from Galactic Solutions Group, LLC!
 19-Jan-2005 18:41
User is offline View Users Profile Print this message


Joshua Clark

Posts: 4
Joined: 13-Jan-2005

I'm looking for a utility that can copy views from one module to another where all the associated infrastructure necessary to completely build the copied view can be copied as well.

Back in 'the day' the "Kitchen Sink" tools included one such view copier that is no longer functional due to the migration of DOORS thrhough various iterations.

I have included the old Kitchen Sink view copier with all the previously called includes wrapped into the code itself.

If anyone has something like this, I would appreciate it!
Report this to a Moderator Report this to a Moderator
 20-Jan-2005 08:23
User is offline View Users Profile Print this message


Roy Bond

Posts: 39
Joined: 25-Mar-2003

Here you go.....

The script will copy every attribute (and type) which is required in the view, but does not copy any attributes which are referenced by any embedded attribute DXL. This is easily spotted as the view will generate a DXL error highlighting any missing attributes when selected for display.

Also, the script removes default (inherited) access rights for any copied attributes and sets up specific access rights - you might want to check this fits in with your schema and edit accordingly.

Any problems just email me.

Roy.

MTU Aero Engines
Munich

roy-david.bond@muc.mtu.de
Report this to a Moderator Report this to a Moderator
 20-Jan-2005 15:16
User is offline View Users Profile Print this message


Joshua Clark

Posts: 4
Joined: 13-Jan-2005

Answer Answer
I found a bit of code that works perfectly!  Thanks to the author Michael Sutherland from Galactic Solutions Group, LLC!
Report this to a Moderator Report this to a Moderator
 27-Jan-2005 13:46
User is offline View Users Profile Print this message


Michael Sutherland

Posts: 248
Joined: 13-Sep-2002

Joshua,

I'm glad you found the code useful.

The "Attach Code" box seems to have cut off the end of the code. The full version is available at the downloads area of our web site.

-------------------------
Michael Sutherland
michael@galactic-solutions.com
http://galactic-solutions.com
Report this to a Moderator Report this to a Moderator
 1-Aug-2006 10:36
User is offline View Users Profile Print this message


Thomas Langholz

Posts: 40
Joined: 20-Oct-2005

wow this tool is amazing
thanks a lot
Report this to a Moderator Report this to a Moderator
 15-Dec-2006 14:50
User is offline View Users Profile Print this message


Gerhard Schneider

Posts: 2
Joined: 9-Jan-2006

Well, this script is pretty nice... ...i thought: we're using DOORS 8.1 here, and the script worked perfectly, but it produced attributes that are read-only for everyone. I don't know why, but perhaps you should try it in a safe environment where you can delete the module afterwards... Regards, Gerhard Schneider HOOD Group
Report this to a Moderator Report this to a Moderator
 18-Jan-2007 07:14
User is offline View Users Profile Print this message


Andrew Tagg

Posts: 151
Joined: 26-Oct-2004

Has anyone found a workaround for copying the window sizeand position settings yet? I'm still banging my head on the tanle with this one . Thanks Andrew.

-------------------------
Andrew Tagg
Thales Air Systems, Melbourne
Australia.
andrew.tagg@thalesatm.com
Report this to a Moderator Report this to a Moderator
 18-Jan-2007 22:15
User is offline View Users Profile Print this message


Paul Miller

Posts: 376
Joined: 2-Oct-2002

Hi Andrew,

You need to use the viewDef function to get a handle to the full definition of a view (which includes the current settings for Window Size and Position).

Once you have the view definition handle it can be used as the basis for a new view or to change any of the property settings for the current view. View definitions can be found in the DXL reference manual under the "Display Control" section (at least that's where it is in the DOORS 7.1 DXL manual).

-------------------------
Paul Miller
Specification Practices Specialist,
EuroCyber,
Melbourne, Australia.
Mobile: +61 (0)418 135 103
Web Site: http://www.eurocyber.biz
E-mail: miller@eurocyber.biz">pmiller@eurocyber.biz
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 0 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 0 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.