Book a Demo

Recent Posts

Pages: 1 ... 6 7 [8] 9 10
71
Yes you are quite right I'd copied some code but forgot to properly update the comments. I've correct that now.
Anyways I hope the example code helps you get done what you needed.
72
- `Repository.LibraryVersion`- returns the full version string including the build number (e.g., `17.1.1629` means version 17.1, build 1629).

In my EA 17.1.1713, Repository.LibraryVersion returns only a build number (1713). And this is what the documentation says, as well.

BTW A "17.1.1629" example is impossible - build number always starts with major+minor version number.
73
I observed an issue while creating and updating Package entities through multiple threads. The createUpdateTime field retains the original creation timestamp even after the entity is updated.

As a result, the system cannot detect the latest updated entities, which is causing problems in scenarios where recent updates need to be fetched or processed.

Below are sample logs for reference:
Created entity information: internal id: {6A07B956-9480-49f8-B152-0CC037663F4C}, createUpdateTime: Fri Oct 17 07:50:24 IST 2025 [1760667624000]
Created entity information: internal id: {09BAF529-F7F5-47a3-BE5C-895CED4368AB}, createUpdateTime: Fri Oct 17 07:50:27 IST 2025 [1760667627000]
Created entity information: internal id: {2A2FE9A1-8F42-4877-9467-2F813E335A44}, createUpdateTime: Fri Oct 17 07:51:03 IST 2025 [1760667663000]
Created entity information: internal id: {AEFBBB2B-10E5-4106-87B8-B03AB8144657}, createUpdateTime: Fri Oct 17 07:51:07 IST 2025 [1760667667000]

Updated entity information: internal id: {6A07B956-9480-49f8-B152-0CC037663F4C}, createUpdateTime: Fri Oct 17 07:50:24 IST 2025 [1760667624000]
Updated entity information: internal id: {09BAF529-F7F5-47a3-BE5C-895CED4368AB}, createUpdateTime: Fri Oct 17 07:50:28 IST 2025 [1760667628000]

Steps to Reproduce:

Create four Package entities using Thread 1.

Update the first two entities using Thread 2.

Check the createUpdateTime in the update logs or response.
The field should reflect the last updated timestamp after modification, or there should be another field (e.g., lastModifiedTime) indicating the latest update time.

Is createUpdateTime intended to represent creation time only, or should it update upon modification?
Could this be a concurrency issue between threads updating entities simultaneously?
Is there a dedicated field for tracking the last modified time?
Could this be caused by caching or delayed persistence?
What is the recommended approach or workaround to retrieve the actual last updated time of an entity?

Due to this behavior, it is not possible to accurately determine which entities were recently modified.
This leads to missed updates and inconsistent data during sync or polling operations.

74
Bugs and Issues / Re: An issue with the CSV import
« Last post by miksko on October 29, 2025, 06:56:02 pm »
The import only adds or changes elements by design.

Thanks Rob. I had started to suspect that. The user guide mentions a lot of other prerequisites, like Type being mandatory and what will happen if you add rows without a GUID, but not this one. I came to the same conclusion as you though, that shifting State would be comparable. (Though it still leaves you with unwanted elements in diagrams, since the report filter only works on text.)
75
Automation Interface, Add-Ins and Tools / Re: Report Generation Webinars
« Last post by MattAtRamsay on October 29, 2025, 07:57:02 am »
Hi Phil

Thank you for the direct response - that really wasn't expected! Well, as usual, you did a great Webinar. I encourage others to check it out.

Going back over it, template selectors and template fragments were only briefly touched upon at the end. I also note that last year someone reported on the Youtube feed that these feature "do not work". They must, of that I am sure. However, after much experimentation, I can't repeat the successes others may have had.

It is so hard to respond to the "be more specific" as I'll have to go over the many things I've tried that do not work. Whereas, if there was a sample model and template using them where they do work - so I can repeat a single success - I think we may be progressing smoothly.

Anyone know of any samples and templates that demonstrate the practical and successful application of template selectors and template fragments?

Meanwhile, I found this in the webinar library from May 2023: "Model Publishing", https://sparxsystems.com/resources/lectures/show-video.html?video=model-publishing. Although very high level, it raised my eyebrows as it specifically referred to Master Documents at 14m:59s which only 2 years on are said to be deprecated and virtual documents are the answer (which I have been trying but getting limited success with). The next slide at 15:03 shows what I want to achieve, and refers to linked document templates for static content. I can see this working but it is unclear what they are (I guess a template that lifts linked documents out of elements) nor whether it is in conjunction with Master Documents or something else again. 

All the best, Matt
76
Automation Interface, Add-Ins and Tools / Re: Report Generation Webinars
« Last post by philchudley on October 29, 2025, 12:06:29 am »
As the presenter of the webinar, many thanks for your feedback.

If you could be a bit more specific as to the issues you are facing in EA v 17.1 I will do my best to help you out.

Phil C
77
Automation Interface, Add-Ins and Tools / Report Generation Webinars
« Last post by MattAtRamsay on October 28, 2025, 11:15:08 pm »
Hello
Phil Chudley did a great "Back to Basics" webinar on document generation from EA back in 2022. Take a look: https://www.youtube.com/watch?v=HgPjLvoTzpk
I'm looking for the next step - how to use template selectors and fragments was covered briefly, but following it using 17.1 (and 17.1's help) things are not behaving as they should. Any more comprehensive webinars available on this?
Thanks in advance!
Matt
78
At this time I think it was build 1629 and 1713.
What you might have missed in your try is “Enable Custom Draw Style”.
79
General Board / How to deal with multiple target platforms
« Last post by amacara1 on October 27, 2025, 11:45:26 pm »
We use EA for requirements, architectural design and testing of a sw product that has now has multiple target platforms.
With only one target platforms, things were simple: all requirements applied to THE target platform and the same for each component in the architectural design. From sw architectural point of view, we thought we paved the way for supporting multiple target platforms - whenever a component is target-specific, we hide the implementation(s) behind an interface. As we had only one target platforms, requirements were linked (realization connector) to sw components and those were linked to tests. Tests had one status (remember, one single target platform): not implemented/implemented/passed/failed.
But, we now face the situation of having some requirements that apply to only one target platform and not the other. This means we need a way to say this req applies to platform X or Y or X and Y (sort of multiple-choice). And status of a test is now per target platform: same test could pass for X and fail for Y target platform.
I hereby ask for common wisdom how to deal with the situation, please :)
80
Just tried it in build 17.1.1710 and it works like a charm. Which build are you using?
Pages: 1 ... 6 7 [8] 9 10