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: create folders
Topic Summary: create folders and sub folders
Created On: 24-May-2006 21:23
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.
 24-May-2006 21:23
User is offline View Users Profile Print this message


Ananda Badugu

Posts: 20
Joined: 3-Feb-2003

Hi

I'm trying to create folders and sub folder under project automatically using DXL.

I'm able to create folders under selected project using below script. I want to create subfolders under folder ex: i want to create sub folders under "Requirement" folder automatically.

Could any one help on this issue.



Project p = current

Folder f1 = create ("Requirement", "Requirement Description")
Folder f2 = create ("Sandbox", "Sandbox Description")
Folder f3 = create ("Template", "Template Description")




Thanks in advance
Anand
Report this to a Moderator Report this to a Moderator
 24-May-2006 21:56
User is offline View Users Profile Print this message


Chris Jones

Posts: 177
Joined: 1-Jul-2005

I think you'll need to set the folder you want as a parent to current, then just do another create:

current = f1

Folder sf1 = create("Subfolder 1", "Clever description goes here")


Chris
Report this to a Moderator Report this to a Moderator
 29-May-2006 13:35
User is offline View Users Profile Print this message


Reik Schroeder

Posts: 361
Joined: 28-Jul-2003

Hi Ananda,
an alternative possibility to solve your problem is to use a path in your create function:

Folder f4 = create ("Requirement/Subfolder 1", "This is a subfolder of requirements")

Greetings
Reik

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


Berlin, Germany
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.