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: 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
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.
 20-Dec-2006 04:30
User is offline View Users Profile Print this message


Irfaan Jamal

Posts: 8
Joined: 11-Apr-2005

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
Report this to a Moderator Report this to a Moderator
 20-Dec-2006 09:27
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

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
Report this to a Moderator Report this to a Moderator
 22-Dec-2006 00:19
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

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
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.