Book a Demo

Author Topic: Tagged Value Defaults  (Read 2856 times)

davisr_uk

  • EA User
  • **
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Tagged Value Defaults
« on: January 30, 2012, 09:36:17 pm »
Does anyone know how I can set the default for a tagged value? Specifically, within the Archimate plugin whenever I create a new Role element its iconstyle tagged value is set to true, I would prefer it if this value defaulted to false each time.
I just don't seem to be able to find a place to change this behaviour. I thought perhaps the stereotype editor could help me but there doesn't appear to be an entry for Archimate_Role, or any of the Archimate stereotypes for that matter.

OpenIT Solutions

  • EA User
  • **
  • Posts: 555
  • Karma: +9/-1
    • View Profile
Re: Tagged Value Defaults
« Reply #1 on: January 30, 2012, 09:52:37 pm »
The defaults are defined in each MDG (xml) file. You could change it in the file <sparx home>/MDGTechnologies/Archimate.xml. Look for the stereotype ArchiMate_Role under the TaggedValues section change the default for iconstyle to fales.

Not the most elegant solution as you would need to apply the change to the file whenever you updated Sparx. There may be a way to apply the change using the new MDG import capability ? I don't think so however...

Regards,

Jon.

davisr_uk

  • EA User
  • **
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Tagged Value Defaults
« Reply #2 on: January 30, 2012, 10:34:25 pm »
Thanks for the quick reply, your suggestion worked but I agree, it is somewhat "cluncky". I shall just have to remember to check the file each time I update.