Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: kc123 on April 19, 2016, 02:49:48 am

Title: Export Diagram Filters - sync with subversion
Post by: kc123 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!
Title: Re: Export Diagram Filters - sync with subversion
Post by: Geert Bellekens on April 19, 2016, 03:33:41 am
Probably can be ex/im-ported using ex/im-port reference data.

Geert
Title: Re: Export Diagram Filters - sync with subversion
Post by: qwerty 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.
Title: Re: Export Diagram Filters - sync with subversion
Post by: kc123 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?

Title: Re: Export Diagram Filters - sync with subversion
Post by: qwerty 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.