Book a Demo

Author Topic: Exporting a list of atttributes  (Read 3503 times)

JocaRamiro

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Exporting a list of atttributes
« on: April 08, 2007, 04:15:45 am »
Hello,

I have created a class model.  Now, I would like to export a list of the attributes, including name, description/notes, datatype and mapping constraints.  A csv file would be fine.  

Does anyone know how to do this?

Jan ´Bary´ Glas

  • EA User
  • **
  • Posts: 408
  • Karma: +0/-0
  • Bary
    • View Profile
Re: Exporting a list of atttributes
« Reply #1 on: April 08, 2007, 07:41:28 am »
Standard features of EA is RTF and HTML reports.
Other way is to use a db tool to export (.eap file is a MS Access database) or code an add-in.
I would recommend a RTF Report, if you have more questions, read help and ask here.
Tip for RTF template:
Jan 'Bary' Glas

JocaRamiro

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Exporting a list of atttributes
« Reply #2 on: April 09, 2007, 04:56:59 am »
Jan (Bary?)

Thanks for the response.  Thanks in particular for the information that I can read an EAP file with Access.

I spent a few moments trying to tinker with the RTF generator.  That is, I tried to uncheck everthing in the menu provided to configure the templates but attributes hoping that would give an attribute list.  However, the template seems fully committed to the idea that packages contain classes, and classes contain attributes, and I really can't see how to simply kick out a flat list of attributes.

The Access idea looks more promising given my primitive ability to work with Word templates.  It seems pretty clear that I can create an Access query to pull out attributes, their descriptions, and their constraints.

This raises another question.  I also would like to create an activity/attribute cross reference in the spirit of an oldfashioned CRUD matrix.  In my search for where activities are stored, I found them as objects, along with classes.  So here is the question: Is there a place in the database where the relationship between objects and activities are stored?  (This assumes I create dependencies between activities and classes.)  Or is the cross reference (relationship) table created programatically?

Thanks again for the response.  It has been most helpful.