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.

Messages - Geert Bellekens

Pages: 1 2 [3] 4 5 ... 551
Bugs and Issues / Re: Override Common toolbox
« on: August 01, 2018, 05:06:58 pm »
I remember being able to override the standard use case toolbox with my own.

The trick was to put the magic string in the «toolbox profile» package notes since I generate the profile from the package.

RedefinedToolbox=UML::UseCase;Alias=Use Case;Notes=Elements for modelling use cases;

If you generate the profile from a diagram (I don't know why you would do that, but that's another thing) you should put that magic string in the diagram notes.


Bugs and Issues / Schema can still be changed even when not checked out
« on: August 01, 2018, 04:47:48 pm »
If you put a schema composer artifact in a controlled package the schema itself is not rendered read-only. It can still be changed even without checking out the package.
The same problem with the locking mechanism of user security.

Steps to Reproduce:
- Create a schema composer artifact in a controlled package
- Check in the package
- Try to update the schema in the schema composer
- Notice that you can still change the schema although it should be read-only.



General Board / Re: EA data model
« on: August 01, 2018, 03:51:26 pm »
In addition Geert has also published a truck load of stuff on GitHub that can help with automation. Sorry don't have a reference for that at hand.

You can find my Github stuff here:


General Board / Re: Org chart Import by CSV
« on: July 31, 2018, 10:16:48 pm »
Include the GUID in your CSV export/import definition


General Board / Re: EA data model
« on: July 31, 2018, 10:02:47 pm »
Reverse engineer an EA model into EA.


General Board / Re: Export matrix definitions with MDG Technology
« on: July 31, 2018, 12:39:36 am »
See Configure | Model | Transfer | Export Reference Data


General Board / Re: Referencing external XSDs and elements in EA
« on: July 27, 2018, 11:54:58 pm »
I don't think you. You can import the xsd however and use the result in EA.


Suggestions and Requests / Re: can't clone element
« on: July 27, 2018, 07:19:15 pm »
Use the context menu options Copy/Paste in the project browser.


I think Sparx has released a new schema that doesn't need these permissions on the t_image table, but IIRC this schema can only be used by v14 and is not backwards compatible.


If you want to create add-ins then you probably want to go with C#.

In theory you could use any programming language that can generate a COM compatible dll, but I think the majority of existing add-ins is written in C#, and a minority in VB.


I got it working from within EA, so I know it's possible, but I don't remember if I did anything special.
Just keep playing with the settings until something works I guess, or import from Word as suggested earlier.


We have solved this (for different customers) in different ways:

- 1) only use attributes and no associations (limits some constructs such as anonymous choices)

- 2 ) use an add-in I wrote: EA Message Composer to select the message as a subset. The add-in takes care of the alphabetic order.

- 3) write a post-processing tool/script to order the resulting xsd's alphabetically.


Sorry for wasting your time, Geert  :-X
No time was wasted. Next time I see a similar error I will remember this thread and know where to look :)



Weird. I can't reproduce the error. On my machine it either works (if the export path exists) or it fails silently (if the path doesn't exist)

Maybe try sparx support. They might have encountered a similar issue.



This works for me to create html export from within EA. (make sure the export path exists)
It still fails on the copy statement because of the invalid sharepoint url.
You have to use an UNC format to get it to copy to sharepoint.

Code: [Select]
option explicit

' Script Name: ExportHTML
' Author: Geert Bellekens
' Purpose: Export the model HTML format. This script is suitable to be executed as a scheduled task in order to export the model
' to HTML and publish it on a webserver or sharepoint site.
' Date: 09/06/2016
sub main
'dim repository
dim projectInterface
'set repository = CreateObject("EA.Repository")

'the path to put the inital export to
dim exportPath
exportPath = "C:\Temp\EA\html"

' the path where the exported model should be copied to (sharepoint location, or webserver)
' in case of a sharepoint location make sure to use the UNC path (\\sharepoint-site\location\)
' and make sure that section of sharepoint not version controlled (no check-in/checkout)
dim publishPath
publishPath = "http://sharepoint/sites/documentendatabank/EnterpriseArchitecture/SparxExports"

'get project interface
set projectInterface = repository.GetProjectInterface()

dim packageGUID
dim rootPackage
rootPackage = "{A5CA6155-C51A-4486-99F2-4A6F97D3C8B3}"
packageGUID = projectInterface.GUIDtoXML(rootPackage)
projectInterface.RunHTMLReport packageGUID, exportPath, ".png", "<default>" , ".html"

'copy the export to sharepoint or webserver location
dim fileSystemObject
set fileSystemObject = CreateObject( "Scripting.FileSystemObject" )
fileSystemObject.CopyFolder exportPath, publishPath
end sub



Pages: 1 2 [3] 4 5 ... 551