Book a Demo

Author Topic: Setting/changing default language for an entire database  (Read 4320 times)

MrSnow

  • EA User
  • **
  • Posts: 20
  • Karma: +1/-0
    • View Profile
Setting/changing default language for an entire database
« on: February 21, 2019, 10:58:27 pm »
Hi all,

I am working on an EA database and through "Configure -> Reference Data -> Settings -> Code Engineering Types" I have added a JSON language to be able to add JSON types from the dropdown menu. I wish to change the default language for all packages and diagrams within the top level package.

I am able to change the individual package language to JSON by going into "Element Properties" and Advanced->Language. But for the JSON language this is not applied to the entire database for all users accessing the database. This means that everyone using the database needs to create a JSON language and manually add it to all packages.

Does anyone have a smooth solution or any experience with this?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Setting/changing default language for an entire database
« Reply #1 on: February 21, 2019, 11:12:57 pm »
Go to Code | Configure | Options | Reset Source Language

Geert

MrSnow

  • EA User
  • **
  • Posts: 20
  • Karma: +1/-0
    • View Profile
Re: Setting/changing default language for an entire database
« Reply #2 on: February 22, 2019, 01:03:11 am »
Go to Code | Configure | Options | Reset Source Language

Geert

Maybe my formulation of the question was a bit vague.

I do not wish to reset the Source Language, that gives me Java. I would like to set a new one for the entire database so that all other users of that database also gets the effect of my change. Not sure if I'm making completely sense?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Setting/changing default language for an entire database
« Reply #3 on: February 22, 2019, 01:10:08 am »
In the "Reset Source Language" you can replace whatever language you were using (e.g. Java) by another language (e.g. C#, <none>, ..)

So if you have added JSON as a code engineering language you should be able to replace Java by JSON for all elements in a package (and sub-packages if you check the checkbox)

Geert

MrSnow

  • EA User
  • **
  • Posts: 20
  • Karma: +1/-0
    • View Profile
Re: Setting/changing default language for an entire database
« Reply #4 on: February 22, 2019, 01:28:46 am »
In the "Reset Source Language" you can replace whatever language you were using (e.g. Java) by another language (e.g. C#, <none>, ..)

So if you have added JSON as a code engineering language you should be able to replace Java by JSON for all elements in a package (and sub-packages if you check the checkbox)

Geert

Ah, there you go. Apparently it didn't work for the Model, but it actually applies for all users. Thanks Geert! :-)