65954

How to find and export the DOORS ID value?

Question:

I found a script to <a href="https://stackoverflow.com/questions/13266029/doors-dxl-export-to-pdf-or-print-with-a-given-template/13289643#13289643" rel="nofollow">export to LaTeX</a>, but at least with the module and DOORS installation at my company (DOORS9.6 via a remote server) , I get an error when trying to execute. The error occurs at the line

// ------------------- Handle Requirements objects Text ----------- puid = obj."IE PUID"

The error message is

<blockquote>

-R-E- DXL: unknown Object attribute (IE PUID)

</blockquote>

If I comment out that line, the script runs w/o error and exports a LaTeX source file. Problem is, of course, that I need the text of each Object's DOORS ID, known as "Object Identifier". Is there an alternative way to get the info, or is there a different attribute name I could use? (I don't have a reference doc. with any sort of id -namelists).

Answer1:

The question is, which attribute(s) you need to be exported.

the script you found will export all objects and attributes of the current view to latex, but it is adopted to the needs of the script's author, e.g. “IE PUID” is not a standard DOORS attribute. Thus, you will have to make some changes until the script provides the output you need.

As for the ID, the usual way to address DOORS objects is by using the attribute „Absolute Number“, which is unique for each object in a module. You might want to use this attribute as ID, but perhaps you have a different kind of ID in your modules - I suggest to open the module that you want to export and look at the details (properties) of one object (right mouse button). When you look at the attributes, you should find which attribute is the best “ID” for you.

One other line you will probably need to change is “if( ! main( col ) && search( regexp "(P|p)(U|u)(I|i)(D|d)", var_name, 0 ) == false )”. This line ensures that only columns are exported that do not contain the characters puid or PUID, probably for avoiding that the ID is printed twice. Adopt this to your need as well.

Hope this helps

Recommend

  • Exporting Lotus Notes document to CSV & Excel Files
  • Can't resolve 'jquery' with typescript
  • Appium MobileElement swipe returns unknown server error
  • Relative paths. baseUrl and paths not working on ionic2 - angular2
  • passing a default argument to a browserify module
  • Building Qt project for C++11 standard
  • ViewController With Transparent Background Entering Current ViewController With Push Transition
  • How to use RequestBodyAdvice
  • Custom Tabgroup Appcelerator
  • $wpdb not working in file of WordPress plugin
  • Exception “firebase.functions() takes … no argument …” when specifying a region for a Cloud Function
  • Q promise. Difference between .when and .then
  • C# - Is there a limit to the size of an httpWebRequest stream?
  • Is my CUDA kernel really runs on device or is being mistekenly executed by host in emulation?
  • How to make a tree having multiple type of nodes and each node can have multiple child nodes in java
  • Counter field in MS Access, how to generate?
  • HTML download movie download link
  • Accessing IRQ description array within a module and displaying action names
  • How to convert from System.Drawing.Color to Excel.ColorFormat in C#? Change comment color
  • Incrementing object id automatically JS constructor (static method and variable)
  • Does CUDA 5 support STL or THRUST inside the device code?
  • Perl system calls when running as another user using sudo
  • Javascript + PHP Encryption with pidCrypt
  • When should I choose bucket sort over other sorting algorithms?
  • Hazelcast - OperationTimeoutException
  • Websockets service method fails during R startup
  • To display the title for the current loaction in map in iphone
  • Akka Routing: Reply's send to router ends up as dead letters
  • AT Commands to Send SMS not working in Windows 8.1
  • Run Powershell script from inside other Powershell script with dynamic redirection to file
  • Arrays break string types in Julia
  • Rails 2: use form_for to build a form covering multiple objects of the same class
  • NSLayoutConstraint that would pin a view to the bottom edge of a superview
  • Load html files in TinyMce
  • How can I get HTML syntax highlighting in my editor for CakePHP?
  • Why can't I rebase on to an ancestor of source changesets if on a different branch?
  • coudnt use logback because of log4j
  • How do I configure my settings file to work with unit tests?
  • Getting Messege Twice Using IMvxMessenger
  • Is it possible to post an object from jquery to bottle.py?