Book a Demo

Author Topic: Export Layout styles  (Read 10128 times)

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1403
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Export Layout styles
« on: February 27, 2025, 09:56:30 pm »
Hi,
I have a shared project with custom layout styles (background, line colours...) that I need to export to an XML file.
I tried several options in the Export Reference Data but it doesn't seem to be there.

Is there a way to get these details easily ?

Thanks
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


shimon

  • EA User
  • **
  • Posts: 172
  • Karma: +6/-0
    • View Profile
Re: Export Layout styles
« Reply #1 on: February 28, 2025, 01:19:08 am »
Hi,
I'm just curious, you say that you have a shared project. I assume you mean a file based project.
I just tried this on our network, and the customizations didn't carry over to another computer on the network that opened the same file.
This seem to point in the direction of settings that are saved in the Registry (or to the User\AppDataDir).
If you have a sandbox environment, you can test this for yourself to try to figure out where these settings are saved. You can also use Process Monitor to figure this out, but as I have never tried this myself, I can't vouch for it.

We have a regEdit file for all the preferences that we want all users to change. If you are interested, I can write how we achieved this. As it imports the settings to the User Hive, there is no need for Admin rights to use this reg file. 
This is good for users that only need access to one repository ( in our case, a SQL based repository).
 
Sincerely,
Shimon

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1403
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: Export Layout styles
« Reply #2 on: February 28, 2025, 06:58:17 pm »
Hi Shimmon,

By shared project, I meant a database available via the PCS.
The list of custom styles within the Layout menu > Style > drop down list starting with "Default Style" is definitely stored within the EA project. If I open a different EA project, the custom styles list is empty.
I looked at the database and found there are stored within the t_trxtypes table (Description = Style) so it's fairly easy to extract however I was hoping this would be supported without the need of a custom script or similar.
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com