Book a Demo

Author Topic: Export Diagram Filters - sync with subversion  (Read 4538 times)

kc123

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Export Diagram Filters - sync with subversion
« on: April 19, 2016, 02:49:48 am »
Hello!

I found the Diagram Filters to be a nifty tool in EA. However, it seems like the Diagram Filters get stored in the .eap file itself. Is there a way to export the filters so that I can share it with my project group via subversion? Can it be included in the XML export?

Thanks in advance!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Export Diagram Filters - sync with subversion
« Reply #1 on: April 19, 2016, 03:33:41 am »
Probably can be ex/im-ported using ex/im-port reference data.

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Export Diagram Filters - sync with subversion
« Reply #2 on: April 19, 2016, 05:00:12 pm »
But where there? It's not Diagram Matrix.

Actually they are stored in t_xrefsystem with Type="DFilter". See also chap. 6.17.2. of my Inside book.

q.
« Last Edit: April 19, 2016, 05:06:20 pm by qwerty »

kc123

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Export Diagram Filters - sync with subversion
« Reply #3 on: April 19, 2016, 05:57:09 pm »
Thanks for your replies!

@Geert: I can't find Diagram Filters anywhere in the export ref. data dialog.

@qwerty: I'm not sure what you mean by "t_xrefsystem with Type="DFilter" ".. Is there a way to access this t_xrefsystem somehow and export its data to a file?


qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Export Diagram Filters - sync with subversion
« Reply #4 on: April 19, 2016, 07:26:54 pm »
You will need to script that. Issue a
Code: [Select]
SELECT Name, Description FROM t_xrefsystem WHERE Type="DFilter"This will get you all filters (description is some XML describing the filter). In order to get that into other EAP/DBMS you need to create according entries where you create an arbitrary XRefID (GUID format; eventually you can re-use the original key). Client is set to the author. I don't use it often, so I do not know how the user influences the filters. Maybe they are user specific, in which case you would need to create entries per person(?).

q.