Recent posts

#31
Hi,

Quote from: Lieven on November 14, 2023, 13:10:26 PMDo you have other suggestions to keep your models up-to-date with external information sources?

You can do it with jArchi scripts. I've share a script for that some years ago. a new version is ongoing and should be publish in the coming months, but this one still works fine: https://gist.github.com/jbsarrodie/77e1e6779ace738a15c0bdcf551d68ec

Regards,

JB
#32
coArchi / Merging two branches resulted ...
Last post by manonvanrooijen - November 14, 2023, 19:42:10 PM
Hi! I merged two branches in Git, but now I have several errors and i don't know where to start looking in my model where to correct them:

Any clue on where in the model I can fix this?
My preferred mode would be to find the issue in the xml files and correct them there.

Kind regards,

Manon
#33
General Archi Discussion / Re: CSV Data Import - Properti...
Last post by Lieven - November 14, 2023, 13:10:26 PM
Understood.  Thanks for your support.

Do you have other suggestions to keep your models up-to-date with external information sources?  If you want to realise this through the import function you need this functionality.
#34
General Archi Discussion / Re: CSV Data Import - Properti...
Last post by Phil Beauvoir - November 14, 2023, 12:18:53 PM
Quote from: Lieven on November 14, 2023, 11:55:36 AMHi,

I can understand this approach from a single import point of view.  From a multiple import point of view, this make less sense...  This could be solved by including a checkbox to allow flexibility to the user and support both approaches.  Is this something you could consider for the future ?

Br, Lieven

You can open a feature request if you wish, but as the Archi backlog is so big, and there's only one of me, it would remain a low priority.
#35
General Archi Discussion / Re: CSV Data Import - Properti...
Last post by Lieven - November 14, 2023, 11:55:36 AM
Hi,

I can understand this approach from a single import point of view.  From a multiple import point of view, this make less sense...  This could be solved by including a checkbox to allow flexibility to the user and support both approaches.  Is this something you could consider for the future ?

Br, Lieven
#36
General Archi Discussion / Re: CSV Data Import - Properti...
Last post by Phil Beauvoir - November 14, 2023, 11:40:55 AM
Hi, yes this is expected behaviour when importing from CSV. Sometimes users want to add the same Property with different values. If you want to update a Property only once then only include it once.
#37
General Archi Discussion / CSV Data Import - Properties
Last post by Lieven - November 14, 2023, 11:29:06 AM
Hi,

I am using the CSV import functionality already for a long time. Everything is working fine.

The only thing what is not consistent is when you want to update elements with properties.

The element update itself is working fine. When you have multiple instances of an element, it updates the element itself.  So the last instance is in your model.  For properties, even though the ID is unique and the property value is also unique, it adds the multiple instances as new properties.  In the example below you will end up with three properties "Pillar" in the element with ID "P.1.3":

"P.1.3","Pillar","Technology"
"P.1.3","Pillar","People"
"P.1.3","Pillar","Process"

Is this a suggestion for improvement or a feature request ?  When updating your models with elements with properties on a regular basis, you will end-up with a lot of properties...

Br, Lieven
#38
Other Plug-ins / Workflow for database plugin
Last post by nickbrown1968 - November 14, 2023, 09:15:39 AM
I'm trying to improve Archi collaboration with colleagues. I've looked at the coArchi plugin and the git workflow is really familiar to me, but have a couple of gripes with it. So I'm looking at the database plugin instead, but I can't really follow how the collaborative workflow should work. Can anyone give me some advice with a proven collaboration approach using this plugin?
#39
General Archi Discussion / Groovy and Moonrise theme
Last post by romuald - November 09, 2023, 09:27:47 AM
Hi,

I loved the groovy from https://forum.archimatetool.com/index.php?topic=499.0

I managed to set it for windows and also the Moonrise theme.

It's not a plugin, just a zip to unzip in the theme directory of Archi plugin.
It will change plugin.properties and plugin.xml.

Groovy theme is looking like : groovy.png

theme.zip

#40
Hello,
Jean-Baptiste gave us the methodology to translate a model in various languages:
- Add a property at the model level, Language. Set the language to any language code. Example FR for Franch or EN for English
- Then you can translate any object : concept or relationship. Just add some language properties + translation.
Example : EN (property name) and set property value to Purchase Order. FR (property name) and set property value to "Commande d'achat"
The translation will use the label. For each object, set the labels to ${property:$model{property:Language}}
We have added the object type. So the label is set to :
${property:$model{property:Language}}
(${type})
Doing that manually for a complete model is boring. So we developped a short script to facilitate implementation.
Here attached, an example (archimate model) + script.

By the way, we still have some difficulties to translate folders. We have tried the same methodology but we couldn't translate it.
Could be an Archimate version issue as we are still in 4.9.3.

We would apreciate your help.