Questions tagged [ibm-doors]
DXL (DOORS Extension Language) is a scripting language for IBM Engineering Requirements Management DOORS (formerly known as IBM Rational DOORS).
379
questions
0
votes
1
answer
9
views
Does DXL have a preprocessor
Is it possible to use simple pre-processor statements with DOORS DXL?
Like use #ifdef or #define?
The two main things I'm trying to do are doing pre-processed if statements (mostly for debugging ...
0
votes
1
answer
61
views
Windows batch redirect output to console
The summary of this question is I have a command I'm running in batch, Some.exe args but it is not outputting to the console. It does however output to a text file if used like Some.exe args > test....
0
votes
1
answer
24
views
DOORS make console the interactive window
Is there any way to tell DOORS to use the current command prompt window as the interactive window when executing in batch mode?
For example, if I have hello.dxl which looks like
print("Hello ...
0
votes
1
answer
30
views
User password in DXL - Dialog Box
I need to enter a password in a DXL program. I have seen that there are some functions to do this (createPasswordDialog or confirmPasswordDialog are some), but what I would be interested in would be ...
-2
votes
1
answer
36
views
Bold Text in Dialog Box - DXL [closed]
I'm trying to make an program in DXL whos asks the user some data. For this reason, I would like show the instruction to user with an Dialog Box. How can I do put a bold strings in the Dialog Box? (I'...
0
votes
1
answer
30
views
How to Create a Custom Keyboard Shortcut in DOORS?
Its very time consuming to navigate through:
example:
X->Y->Z->A->B
Can we create a Custom Keyboard Shortcut for this in DOORS?
0
votes
1
answer
38
views
Create a folder in DXL - DOORS
I am trying to make a script that will copy the contents of one project to another (ie folders and modules) in DXL. To do it, I have seen that there is the create function,
create(string name, string ...
0
votes
0
answers
35
views
How to bold every instance of a phrase in an attribute on doors with a DXL?
I have an attribute/column called "X" in a DOORS module. I want to bold the 3 phrases "America" and "Bahamas" and "Czech Republic" whenever they appear in this ...
0
votes
1
answer
34
views
I am writing a DXL script to print a modulename with path using a function . I need to remove if the directory has remote in that path
Below module is forming a directory from a path
Checkmodules("Cus", "projectname".cfg", ".*(Cus|Cer Requirements|Cer Speci|ASM|/ASM24e|Specs).*");
The above line ...
0
votes
0
answers
22
views
Is there a way of checking if a socket has received data without blocking the DOORS client?
I am attempting to (partially) replicate the doors URL behavior by sending a "HTTP" request to the DOORS client over TCP/IP using a URL like http://localhost:5093?variables which instructs ...
0
votes
1
answer
84
views
Can I set the value of a variable by using the address within DXL doors?
So what I want to do is pass a variable into an eval_ by address and then set the variable in there like so:
string str = "a"
Addr64_ addr = addr_ str
eval_("string ref = addr_ " ...
0
votes
1
answer
126
views
Is there a way to color a column using DXL?
When I manually click the column properties there is an option to set column Text Color by attribute, and there is an option to set Background Color by attribute. I want to do this through DXL instead ...
1
vote
1
answer
59
views
Get desired Module and add artifacts in it using OSCL + JAVA
I am new at OSLC + JAVA framework. Currently I am trying to add some artifacts in particular module.
So I need to fetch that module and add new artifact in it.
As a part of POC currently I am able to ...
0
votes
0
answers
26
views
CSV Import in Doors Next generation using OSLC
I am new in OSLC platform. currently I am able to connect with DOORS Next Generation by using JAVA code using OSLC platform. I am able to get project details and root services.
Now I want to do import ...
0
votes
1
answer
48
views
How can I import iso-latin1 encoded text into DOORS
I have reworked some testcases in Excel and exported them as tab stop separated file. Unfortunately, there are some German letters in this export namely Ä,ä,ö,Ö,ü,Ü,ß as being specified in iso-8859-1.
...
0
votes
0
answers
71
views
DXL Scripting - import image from Excel Cell to Doors if exists in any cell
I am a newbie to DXL Scripting and am stuck with a problem not knowing how to proceed. I have written a code to export data from Excel into Doors by accessing each and every cell. But I am unable to ...
0
votes
1
answer
241
views
How to make a DOORS boolean attribute/column "False" if another attribute/column is not empty with DXL?
I have 2 attributes/columns. "A" and "B". A is as string of text. B is a boolean that can be True or False (when you edit it in DOORS, it's a drop down with 2 options T/F).
I want ...
0
votes
1
answer
52
views
How to divide values in two columns in IBM doors
Hello hope everyone is fine, so I want a column that shows the percentage value for example if I have 1 column which has a value a and 2nd column which has value b I want a column which shows a/b*100,...
0
votes
2
answers
257
views
IBM DOORS how to import rows from excel to specific place in DOORS
I have some rows in DOORS identified by a number. For example
Object Identifier
Description
1
description of object 1
2
description of object 2
3
description of object 3
4
description of object 4
...
1
vote
1
answer
66
views
How do I display a hidden module from DXL
Is it possible to display the module coming from a non-displayed state(hidden)? I have made a temporary solution where I close the previously opened module and then open it in display mode, but this ...
0
votes
1
answer
261
views
How can I export existing links in DOORS to Excel
I'm working with a third party that is not allowed to access DOORS but is in for the requirement and the linking to the testcases. It is no problem to export both documents in an Excel sheet. ...
1
vote
1
answer
101
views
Update link module of an existing link chain in IBM DOORS client 9.6
I have mistakenly used a wrong link module between module A and B. I now changed the link module to the correct one, but the previously created links remain assigned to the previous link module. How ...
0
votes
1
answer
84
views
How can I get the Date modified from a file or stream using DXL?
I have been searching through basically all of google and the DXL reference documentation to find a function where I can get a Date object from a filename or stream object but I was unable to find ...
0
votes
1
answer
83
views
InLinks and OutLinks not displaying when level is changed in IBM Doors
Hi Everyone hope all are good in this COVID time
So In a standard, all levels view i am able to view the links but when i change the view to level1 the links are not displayed.How can i display it any ...
0
votes
0
answers
27
views
DXL UTF 8 Encoder
I am using the DXL HTTP functions in DOORS and need apply UTF 8 encoding to Chinese characters - can anyone help? Preferably I'd like to do it with with a DXL routine but an external routine that I ...
0
votes
0
answers
125
views
Automating DOORS Module Export with Python
Has anyone tried to automate DOORS module export with Python? Within DOORS there is an option within the module to export it as a csv, and I'm sure it can be done with DXL; however, I am trying to do ...
0
votes
0
answers
20
views
How to access to IBM Doors through Java?
I would like to access IBM DOORS through Java, i need something like ORM to create CRUD java app.
I tried to create DXL files and launch them with Java. It will take a long time and i'm looking for ...
1
vote
1
answer
31
views
DXL showing output but not reflecting in column
I am using this script to get inlink modules info the script is working fine but its displaying output only in dxl window I want it also to reflect in a column when added as a attribute dxl can anyone ...
0
votes
1
answer
74
views
IBM Rational Doors Linking two objects within the same module and save it to a baseline
Can't seem to find any documentation on if this is a limitation or known issue.
I have two objects (Obj1 and Obj2) that live in the same module (Module A). I can link Obj1 -> Obj2 just fine on the ...
0
votes
0
answers
134
views
DOORS DXL: How to place the DXL Code in Trigger?
I want to apply a persistant pre trigger on a specific attribute in Relational DOORS with DXL.
The Declaration follows the below syntax:
Trigger trigger(string name, l, t, e, int p, string dxl)
where:
...
1
vote
1
answer
138
views
Populate a list with Modules and display it in a Dialogbox in DOORS
I need a DXL script that fill a DialogBox with returned Module names'. I have several modules within a project.
Below is my current progress. My idea is to put all Module names in a List and then ...
0
votes
1
answer
72
views
Delete links in same modules Doors
i would like to ask if there is a way to delete all the out links from one baseline to another baseline in the same module. I used link-> delete links - and chosen files but it didn't work for the ...
0
votes
0
answers
13
views
Within DoorsNG, is it possible to assign requirement ids to rows within a table?
I am working on a project that is using DoorsNG for requirements management. Fortunately, DoorsNG is not my direct responsibility, but DoorsNG is impacting our efforts.
We have many requirements which ...
0
votes
1
answer
51
views
Link several modules at once - IBM DOORS
I have one module which needs to be linked, through the same link module, to several modules. What would be the fastest way to do that?
Right now, I'm linking manually each module and I need to select ...
0
votes
1
answer
54
views
What does Create access rights for Attributes do?
I was recently looking at access rights for attributes and seeing if certain attribute properties are controlled by M and others by C, but it seems like I have access to all attribute properties with ...
0
votes
1
answer
75
views
Can we integrate DOORS tool as a plugin to a java application?
I would like to integrate the DOORS tool(requirement gathering tool) into my java application.
My application is a standalone application built in java, Can I integrate DOORS tool as a plugin or any ...
0
votes
0
answers
30
views
(DOORS DXL) Creating title page in Word with different size/color text
I currently have a script that creates an HTML page that shows the differences in scripts that were made since the previous baseline and then saves it as a Word document. Now, what I'd like to do is ...
1
vote
1
answer
202
views
Sending a DXL command to IBM Doors From a C# application over TCP/IP
I am trying to send a DXL command to IBM DOORS over TCP/IP.
I managed to do it. But in that case, I need to start the TCP/IP server from DXL Interaction window using the command evalTop_ initDXLServer ...
0
votes
1
answer
97
views
Searching for text in module using dxl
How do you search for text in module using dxl script. Once found I want to highlight the object in which the text was found
0
votes
1
answer
93
views
Is it possible to get a module from a baseline object in DOORS?
I need to get the most recent baseline of a module in DOORS DXL. How do I store all of the objects from this version of the module in a skip list? Can I get the module objects from the baseline?
...
0
votes
0
answers
76
views
IBM DOORS ReqIF Enumeration Attribute Exchange
We are exchanging modules of two IBM DOORS 9.6 databases using ReqIF. The exchange happens on a regular basis - both databases use locks within their ReqIF definition to deny write access on certain ...
0
votes
1
answer
191
views
Migrating Links between Link Modules and impact on baseline sets
I'm looking to migrate some links from one link module to another, because when the links were originally created, the project didn't think it through and kind of just threw them all in one link ...
0
votes
1
answer
96
views
Filtering by object-descendants RATIONAL DOORS 9.6
Is it possible to set the filter that display only every chosen object descendants or create a new view to do this?
0
votes
1
answer
36
views
REGEXP : find the first character after one specific other character
this is my problem :
I have a similar list of strings like that :
1) mytext-othertext-01-Onemore
2) mytext1-othertext1-02-Twomore
3) mytext2-othertext2-03-Fourmore
4) ...
I'm tryng to get ONLY the ...
0
votes
1
answer
56
views
Transferring data between DOORS modules using links
How do I use links in DOORS to transfer attribute data from one module to another
0
votes
1
answer
214
views
Dynamic traceability view of multiple level linked Modules in DOORS V9.6
I have four modules A, B, C and D where in each module is linked i.e., A -> B -> C -> D. The lower level module has only reference to next higer level module. So i cannot draw links from D to ...
0
votes
1
answer
71
views
Getting attributes without opening the module
Is there a way to get the attributes of a module without reading it?
I need to get that information for about 100 modules and it takes over 10 minutes if I have to read each module
I don't need to ...
1
vote
1
answer
190
views
DXL simple attribute return
i am new to DXL.
What i am trying to achieve:
I would like to create a DXL column in a module which displays the object's ForeignID plus a prefix.
What i tried:
Module m = current
Object o
for o in m ...
1
vote
1
answer
422
views
How to export all attributes of a DOORS module
I want to send all possible attributes of a DOORS module, which is quite large. How can I easily send my colleague all attributes of the DOORS module, so that he can tell which attributes he wants to ...
1
vote
1
answer
186
views
DXL: how to get ModName_ of a module using its path
I have path of a module. I know how to open (edit/read) it to get a module.
But I don't want to open it because I don't want to use information in it (or because it can't be open), what I want is only ...