![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Module - Setup for Sharing Topic Summary: DXL function to setup the module for Sharing Created On: 20-Dec-2006 04:30 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hi,
I was trying to setup a module to Shareable edit mode using a DXL program. I could not find any function which does this in the DXL help manual. I could setup the module to shareable edit manually using the menu option Tools->Setup for sharing.... But I want to perform this action using a DXL program. Could anyone please help me on this? Thanks & Regards Irfaan |
|
![]() |
|
![]() |
|
Lockable sections are objects that have specific, rather than inherited access rights.
So, to make a lockable section use specific(object). To remove a lockable section use inherited(object). As an example, the following will create lockable sections at level 2: ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
Tony is right. VERY disappointing that Telelogic used the same data (specific rights) to also mean shared sections. That causes considerable adminstrative headaches.
Anyway, your script may want to not just set level 2 objects as shared sections, but will probably want to set only level 3 Headings as shared. The attached function correctly anticipates whether the 'main' object heading and text column considers the object a heading or not. Heading objects are those that either have Object Heading or have no Object Text at all (that is, newly created 'empty' objects). The tricky part is that if the object text contains only rich text markup but is otherwise empty, the object is NOT considered a heading. Thus, this function retrieves the Object Text even though that's hopelessly inefficient. So Tony's code may become: if (level(o) == 2 and fIsHead(o)) - Louie EDIT: Mmmm. Maybe this function should instead just retrieve the pargarph number(o), find the last period in the number, and determine if its followed by a '0-' (its a text object) or not (its a heading object)... Edited: 22-Dec-2006 at 00:25 by Louie Landale |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Module - Setup for Sharing
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.