Book a Demo

Recent Posts

Pages: 1 ... 5 6 [7] 8 9 10
61
Great job @Takeshi. Very helpful. Many thanks.

I was trying to create a BPMN diagram. The result was nice. After some corrections MCP created Activities, Gateways and Connectors. But it struggled with Events. I think that this could be fixed easily:

BPMN2.0::Event (the base Event type from the BPMN2.0 profile):
The error is "Invalid type" for BPMN2.0: : Event.
So EA's MCP Server recognizes:
✓ BPMN2.0::Activity
✓ BPMN2.0::Gateway
✓ BPMN2.0::SequenceFlow
✓ Event (plain, without profile) -> this not what we want
X BPMN2.0::Event - "Invalid type"
X BPMN2.0::StartEvent - "Invalid parent for ObiectNode"
X BPMN2.0::EndEvent - "Invalid parent for ObiectNode"
This appears to be a limitation or naming inconsistency in EA's BPMN2.0 profile implementation through the MCP Server.


Or do I have to add a context file with the Creation Rules for Archimate?
62
Automation Interface, Add-Ins and Tools / Re: SetProjectConstant doesn't work
« Last post by marc.zeller on November 04, 2025, 12:00:25 am »
Dear all,

do you know if the bug is meanwhile solved? It seems that SetProjectConstant is removed in EA 17.1. Is there another way to set project contstants before generating a report via the C# API?

Regards,
Marc
63
Bugs and Issues / Re: An issue with the CSV import
« Last post by DeBAAT on November 03, 2025, 09:54:11 pm »
Some tools include a column "Action" allowing you to specify what to do with that row, e.g. "Delete" could be such an action.
Another workaround might be to check the value of last modified to identify the requirements not touched by the import, thereby rendering them as optionally to be deleted.
64
General Board / Re: PCS & SQL Server 2022
« Last post by Modesto Vega on November 03, 2025, 07:27:27 pm »
Hi Guillaume,

I haven’t experienced any issues, I am just exercising caution. We need to upgrade our current setup to SQL Server 2022 and the latest Windows Server OS supported by that version of SQL Server.

Just reaching out to the forum for comments before to avoid getting into a technical rabbit hole.
65
General Board / 'Splash' screen when opening a project/model
« Last post by amacara1 on November 01, 2025, 01:56:16 am »
Is there a way, please, to display a message or a splash screen when opening a project/model?
66
Hi  :)

I'm working with Sparx Model Add-Ins to provide some automation and "GUI extension" to the Sparx EA client.
I assume with Model Add-Ins the already existing Add-In concept is replicated so that I could use the existing reference e.g. for event handling
to execute certain actions after the user switched between diagrams I use the event EA_OnTabChanged which is defined here:https://sparxsystems.com/enterprise_architect_user_guide/17.1/add-ins___scripting/ea_ontabchanged.html
The event provides 3 parameters:
Code: [Select]
Repository (EA.Repository), TabName (String) and DiagramID (Long) - but this doesn't seem to be the case. When I try to output TabName or DiagramID with Session.Output or Repository.WriteOutput TabName and DiagramID are shown as [object Object]
With other events like EA_MenuClick this works fine (e.g. for the String ItemName)
I'm working with Sparx EA V16.1.1628

The example model doesn't cover EA_OnTabChanged, so I hope that I can find some help how to solve this here  :)

Happy Halloween,
Oliver
67
General Board / Hyperlink navigation to diagram
« Last post by kfank2 on October 31, 2025, 09:53:29 am »
I recently upgraded from a VERY old version of EA.  In that version, clicking on a diagram hyperlink opened a new tab to that diagram.  My new version (17.1) replaces the diagram on the current tab with the new one (but allows you to navigate back to the source diagram).  Is there a way to change the behavior back to opening a new tab for the new diagram?
68
Automation Interface, Add-Ins and Tools / Re: Report Generation Webinars
« Last post by philchudley on October 30, 2025, 08:45:08 pm »
Hi Matt

Essentially a Template fragment works in two modes
  • "normal template fragment" use the selectors as you would do normally
  • "script or query driven" template only use custom as the selector

Personally I only ever use script driven fragment using JavaScript to extract the Custom Fields into XML ready for insertion into other template(s).
The Custom Fields are user named and are the names of variables returned in the JavaScript.

The same technique also applies to SQL Driven scripts (which I have not used)

For a "normal template fragment" I would try the following:

Let's assume  that the Template Fragment extracts details for a Use Case Element. Then the selectors for the template fragment would be
Package
           Element

(Child packages if you want as well)

Add text, and fields as usual.

Invoke your template fragment in your "master template" within the element section. When the template is called, the element ID will be passed to the template fragment.

Hope this helps

All the best

Phil

69
As you interact with AI and its current BoK, and work through a problem to resolution, it learns that also.
70
Automation Interface, Add-Ins and Tools / Re: Report Generation Webinars
« Last post by MattAtRamsay on October 30, 2025, 07:18:00 pm »
Update:
Found this Sparx Webinar on Custom Documents, which opened my eyes to the value of custom documents and the sample models.
https://sparxsystems.com/resources/webinar/release/ea16/documentation/show-video.html

I've been working through the samples and found the use of template fragments, but am at a loss to see how the selectors work.

So my plan is to drop the perfect, deliver a custom document, and maybe learn the more detailed ropes over a longer span.

If this seems defeatist, this is what we're confronted with:
https://sparxsystems.com/enterprise_architect_user_guide/17.1/model_publishing/define_a_template_selector.html
That reference states:
Quote
Access
Use one of the methods outlined here to display the 'Custom Query' page of the 'Document Options' dialog. Before you select the Document Options icon, select the 'Custom' checkbox in the 'Sections' list, to enable the  'custom >   <custom' tags. These are necessary for the Template Selector fragment to work.

Ribbon
Publish > Model Reports > Templates : <select a fragment template> :  (Document Options icon) > Custom Query
Keyboard Shortcuts
F8 > Templates | Fragments | Double-click on <Fragment name>, then  (Document Options icon) > Custom Query
The Ribbon one does not represent what I'm seeing (V17.1 latest), and F8 inserts a black highlighted line in the template.
Pages: 1 ... 5 6 [7] 8 9 10