Book a Demo

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 ... 887
1
In my model I have defined «trace» relations between BPMN Activities and Applications.

That seemed like a perfect candidate for a custom connector property,
I'm trying to create one according to the manual: https://prolaborate.sparxsystems.com/resources/v5-documentation/create-connectors-in-prolaborate#target-selection--using-designer-configuration
but for some reason I can't create such a property without selecting a connector stereotype?

Is it really not possible to create a connector property for say a trace,  association, generalization, dependency,.. etc...?

Seems like a major oversight, or am I missing something?

Geert

2
PCS Bugs and Issues / Prolaborate custom icons not working?
« on: April 04, 2025, 07:51:10 pm »
I'm trying to set custom icons for my stereotypes in Prolaborate according to the help: https://prolaborate.sparxsystems.com/resources/v5-documentation/customize-visual-elements-in-prolaborate

The first hurdle was the size of the image file. Prolaborate asks for a .png file, so I converted my 16x16 .bmp files used in the MDG to a .pgn file.
The problem is that the filesize of such a image file is only about 400 bytes, for unknown reasons Prolaborate only accepts files larger then 1 KB.

So I then resized the images to 32*32, which allows me to upload the image. So now it looks OK in the configuration panel, but it doesn't work in my actual models. I still see the default icon in both the project browser as the detailed element page.

Did anyone here succeed in setting their own icons for stereotypes? What's the secret sauce?

Geert

3
General Board / Re: SQL object update
« on: April 04, 2025, 04:30:33 pm »
The best option is to write a script that might use an SQL Query to get the the relevant elements, and then use the supported API to update the elements.

Geert

4
General Board / Re: EA17 - mutiple stereotypes in data model
« on: April 03, 2025, 08:25:23 pm »
t_xref

Geert

5
Here's the list of properties that you can show in a shapescript.
https://sparxsystems.com/enterprise_architect_user_guide/17.0/modeling_frameworks/displaying_element_properties.html
There's no use in guessing. If it's not here, it won't work.

The only alternative seems to be the "addin" property. Just make sure your code is super fast, as this has a serious risk of degrading performance.

Geert

6
That's explicitly something that we won't add to the API because the end user needs to make that decision, not some random add-in author.
It's already in there: Repository.ActivateTechnology (string TechnologyID)

Not all add-ins are "public" addins that are downloaded and installed by random users.
Some of them are company specific add-ins that are only used at a specific company.
In that case it makes perfect sense to set the company MDG as the active one.

Geert

7
General Board / Re: Sparx EA - Azure remote app deployment
« on: March 21, 2025, 08:29:18 pm »
Hi Jochen,

Looks like you have a problem with your user profile being wiped every time.
We had that issue once and it turned out to be a problematic configuration in fslogix.

We still have that when we open a published app, and after that login to a Desktop.
That is not specific to EA. You also loose everything in my documents, windows settings, etc...

Geert

8
General Board / Re: Display package content
« on: March 21, 2025, 01:55:57 am »
You can turn off the "show package contents"

Geert

9
General Board / Re: Display package content
« on: March 20, 2025, 10:00:45 pm »
Add the package, and then add it's contents.
There is no "automatic" option.

Alternative is to use the option "Open package in | List View" as an alternative, but if you want a real diagrams, you'll need to make it yourself.

Geert

10
PCS General Board / Re: Custom attributes in ProLaborate
« on: March 20, 2025, 01:57:24 am »
Did you import your MDG into Prolaborate?
If you do, the enumeration tagged values should work correctly.

Geert

11
I had the query with the existing elements a little bit different and that worked, yes. But I found the reason: The Object_Type of the element is different to the one in the Properties Window. Now I use the Stereotype instead, and it works.  :)

Sometimes "talking" about the problem helps. Thanks Geert.
Yes, the properties show the "metatype" as type, not the actual value in Object_Type

Using the stereotype is in most cases the better option.

Geert

12
The query seems correct.
Maybe you should first figure out how to find the elements that have such a child element.
That is not a problem and works just fine.
So you mean that your query with "WHERE EXISTS" works perfectly (get you the elements), but "WHERE NOT EXISTS" also includes the same elements?

That seems hard to believe. There must be something else playing. An element can't be on both datasets of they have opposit criteria.

Geert

13
The query seems correct.
Maybe you should first figure out how to find the elements that have such a child element.

Code: [Select]
Select * from t_object o where o.Object_Type = 'SpecificType'Should give you a clue to figure out what to look for.

Geert

PS. I remember a weird behavior in one of the version of EA that an empty line was interpreted as the end of the query. The rest was simply not processed. Try removing the empty lines to see if that helps.

14
And the problem is?

Geert

15
Thread2: Created connection with user2 and added new elements
Technically the moment you call Update() the new elements are being inserted in the database.
From the moment that transaction has been committed you should be able to get these elements in another thread using a database query.

I guess have PCS in between could complicate things a bit since that might do some kind of caching, but other then that, there is nothing more to it.

As I mentioned, the "refresh" methods you are executing are not related to the state of the database, so they are basically useless except for the fact that they take some time to execute, which gives the other tread the time to commit the transaction.

Geert

Pages: [1] 2 3 ... 887