Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - adepreter

Pages: [1] 2 3 ... 5
Today , in a custom MDG including a Quick Linkers CSV, I redefined all built-in ArchiMate elements and connectors by
using the technique so called "Create Stereotypes Extending non-UML Objects" (

But when I do that my restricted Quick Linkers CSV is ignored and I get all possible default quick linkers instead based on the connectors available in the toolbox.

Does anybody knows how to disable this default EA behavior that shows plenty of ArchiMate quick linkers notably based on the connectors available in the toolbox?
(I don't want the quick linkers to be constrained by the toolbox)

I installed Pro Cloud Server and let the WebEA images be generated.

As a result my master repository is now 9 times larger than it was before.

The problem is that I need to distribute replicas of this database.

Any idea how to remove the Pro Cloud Server content?

Thank you

Tagged values can reference elements (RefGUID or ReGuidList).

Is it possible somehow to define a tagged value referencing a package?

Suggestions and Requests / Modernizing List/Model View
« on: March 11, 2020, 03:53:50 am »
In a List/Model View, users should be able to
- find selected element in the project browser without entering Edit mode
- add properties/tagged values e.g. like in Windows Explorer
- color cells based on "auto legend" and values (properties or tags)
- edit values
- sort

General Board / Missing word wrapping in Heat Maps => text unreadable
« on: February 26, 2020, 02:38:29 am »
Heat map rectangles display text on a single line which make many of these boxes unreadable

Bugs and Issues / Repository.SaveAsDiagramProfile does not save colors
« on: November 11, 2019, 01:18:40 am »
Great idea. It would be a very useful function.
However, unless I am missing something, in our case it is useless as it does save the colors.

A user can change an existing connector by moving a connector end to another element.
And in that case "EA_OnPreNewConnector" is not triggered.

Does anybody know what event is triggered in that case?

Thank you in advance,

... when the stereotype is defined in an MDG?

Does anybody know?

Thank you in advance,

Are there any plans to provide URLs that are accessible from outside the repository.

Here is a use case:

User 1
- Right-clicks on a diagram and select (new option) "Copy link to diagram" (just as in OneNote).
- Copy the link in an email.

- Create links to diagrams and puts them in emails or on a web site

User 2 (recipient)
- Clicks on a URL

- Starts if was not already running
- Opens the diagram and makes it active

So we can write console programs or services that access the object model in batch mode
- without having to install EA on the server
- without existing limitations which are due to the fact that EA is a desktop program

I need to generate HTML using an MDG loaded from my addin. And this needs to run in batch mode.
But OnInitializeTechnologies is not called when running in batch mode.
It works perfectly well when running in normal/user interface mode.

As a workaround I tried to start another instance and call RunHTMLReport() on that other instance (code below)
But RunHTMLReport() returns an error.

Did anybody encounter the same problem... and found a solution :-) ?

Thank you in advance


Process externalEaProcess = Process.Start(repositoryFileInfo.FullName)
object obj = Marshal.GetActiveObject("EA.App");
EA.App app = obj as EA.App;
Repository repo = app.Repository;

Dear Sparxters,
After changing diagram types using C# code equivalent to the VB Script below...

I noticed that when I make an EXISTING element composite, the default diagram type defined in the MDG is not applied.
It works only for new elements.

Any idea what is missing in the code below to apply the diagram type changes to existing elements?

option explicit
sub MigrateDiagramsStereotype (oldType, oldStereotype, newType, newStereotype)
   Dim sql

   Repository.EnsureOutputVisible "Script"
   Repository.ClearOutput "Script"

   ' SQL SERVER SYNTAX ONLY - Cannot be translated to Access as Cast expression does not work with Access
   sql = "update t_diagram " &_
        "set Diagram_Type = '" + newType + "'" &_
        ", StyleEx = cast(replace(cast(StyleEx as nvarchar(max)), 'MDGDgm=" + oldStereotype + "', 'MDGDgm=" + newStereotype + "') as ntext) " &_
        "where " &_
        "Diagram_Type = '" + oldType + "' AND " &_
        "StyleEx like '%MDGDgm=" + oldStereotype + "%'"
   Repository.Execute (sql)
end sub

sub main
      MigrateDiagramsStereotype "Logical",   "MyDiagramPage::MyDiagramStereoyype", "Logical", ""MyNewDiagramPage::MyNewDiagramStereoype"
end sub


In a diagram profile, how can we group/categorize existing diagram types so that they appear in a tree browser a bit like in Archimate 3?

So that, with a perspective properly set, the Add Diagram window shows for example:

- Corporate Objectives
- Domain Goals
- ...
- Organization Landscape
- ...
- Application Landscape
- Application Interactions

Is there a way to automatically replace sql select content stored in list views and charts?

The traceability window is still ignoring MDG icons and this is confusing end users.

One generic way to solve it and to allow extensions at the same time is to provide an addin event that we can use to provide the icon that we need.
The icon could then also reflect the state of any element property or tagged value.

Pages: [1] 2 3 ... 5