Book a Demo

Author Topic: Glossary Import?  (Read 7027 times)

ChuckZ

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Glossary Import?
« on: August 30, 2012, 12:06:41 am »
I have hunderds of glossary terms that I would like to bring into EA. Is there some manner other than retyping each one to bring them into EA?
Where's your shame … You've left us up to our necks in it … - David Bowie (Hunky Dory – 1971)
All that is necessary for the triumph of evil is that good men do nothing. - Edmund Burke (1729-1797)

Dermot

  • EA Administrator
  • EA User
  • *****
  • Posts: 591
  • Karma: +7/-0
    • View Profile
Re: Glossary Import?
« Reply #1 on: August 30, 2012, 03:50:02 pm »
EA does support an XML Import/Export of Glossary terms using XML. You can try an export an XML file of some simple Glossary terms - import this to Excel which will create a schema, modify it with your data then export  it.
To get the XML file use:
Project | Model Import Export | Export Reference data

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13292
  • Karma: +557/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Glossary Import?
« Reply #2 on: August 30, 2012, 04:58:36 pm »
Chuck,

I've published an  Excel to EA importer a while ago.
Paulus has adjusted the VBA code in that excel file to use it to import glossary terms, but I haven't had the time yet to include that code in the original Excel file.

If you send me an email I can send you the code modifications I got from Paulus.

Geert

kepNCI

  • EA User
  • **
  • Posts: 127
  • Karma: +1/-0
    • View Profile
Re: Glossary Import?
« Reply #3 on: September 20, 2012, 06:40:24 am »
I created a huge glossary within an EA project that consists of over 5000 terms and acronyms from over 70 sources. It was not simple and somewhat time consuimg (over a week) to get the data in a format that was easily imported.

I ended up using MS Access to directly update the t_glossary table after performoing a lot of data cleaning of the various sources. Basically, using PDF, Word, Excel and/or Access, I created tables in Access of the various sources in the same 3 fields that are in t_glossary table (Term, Meaning, Type). Besides some issues in the data cleaning, the largest issue regarding EA is the the Term field must be unique, thus you cannot have more than one definition (Meaning) for a term. So in Access before importing to EA, part of the cleaning effort was to concatenate multiple definitions within the same Meaning field. I also creates a standard where each definition eas followed by the name of the source and a blank line. I set the value of Type for each term to a value that suggested the purpose or type of the source glossary. Once I was happy with the tables in Access, I appended them to the t_glossart table in the eap file.

To handle acronyms/abbeeviations of terms, I did two things. I listed any abbreviations/acronyms in the definition.  I also created a separate entry for each abbreviation/acronym where Term=value of acrynym, Meaning=full name of acroynym and Type='ACR".  

Works out fairly nice.  Becomes a simgle source that can be imported into other projects.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13292
  • Karma: +557/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Glossary Import?
« Reply #4 on: May 01, 2013, 10:49:21 pm »
I've finally found the time to add importing glossary terms in my Excel Importer.
See Simple VBA Excel to EA importer v3

Geert