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 - meeert

Pages: [1]
1
Hi,

I'm trying to access the EAGUID to filter per scenario in a way like the #OBJECTID# is being passed in SQL within Templates.

Code: [Select]
SELECT
a.step.value('@level', 'NVARCHAR(MAX)') AS 'step',
a.step.value('@name', 'NVARCHAR(MAX)') AS 'action',
a.step.value('@result', 'NVARCHAR(MAX)') as result,
a.step.value('@uses', 'NVARCHAR(MAX)') as comment
FROM
(SELECT CAST(XMLContent AS XML) AS Content FROM t_objectscenarios WHERE Object_ID = #OBJECTID# ???AND ea_guid = #EAGUID#???) s
CROSS APPLY Content.nodes('/path/step') a (step)

Is there a way to pass the EAGUID within a custom query (template)? OR Scenario name with SQL? Or should I use a custom script to get the desired result?

2
Hi, the titles says it already.

I made the standard Example of the JavascriptAddin. However, the following behavior makes EA freeze.

EA_MenuClick

     Session.Prompt("You clicked " + ItemName, 1);

Not the intended behavior I assume?
I'm using version 16.1.1625 - 64 bit

3
Hello,

I'm looking for a way to fetch every available stereotype for each available objecttype, but I can't find it.

The Objecttype data I can collect from t_objecttypes, which doesn't seem to be complete on its own..  However what I'm looking for is the stereotypes associated with the objecttype.

The goal is to create 2 dropdowns

Dropdown 1 - with every objecttype
Dropdown 2 - with available stereotypes for chosen objecttype

Something similar to the Auto Naming configuration would be the best.

Kind regards

4
Dear forum members,

I'm looking for a way to connect a relationship from multiple selected elements with CTRL to 1 element. I can't seem to find a way to do it for SysML block definition diagrams.

I've tried selecting a relationship from the toolbox while 2 or more blocks are selected with CTRL, but no success.
The Quick Linker widget dissapears when multiple are selected.

Curious if this is possible, if not, how it could be solved (with an Add-in)?
Perhaps possible to enable the Quick Linker for multi selected elements?

Thanks.

5
Dear forum members, I've made an Add-In which I would like to distribute to different EA users. I would like to implement a license key mechanism to the Add-In so only the users which registered the key can actually use the Add-In. However, I couldn't find a guide for how to implement this functionality.

What I know so far is:

1. The licence management tool should be used to register the Add-In key (inside EA)
2. There's 2 kind of keys. A private and a shared key.
3. There's a tool called Sparx Systems Keystore Service (used to manage the keystore for floating licenses), but I'm not sure of this is the tool I should use

Ultimately, my question is: How can I generate a license key for my Add-In which other users can activate to access the Add-In?

I've also got questions regarding how to update an Add-In once distributed, but that will come later.

6
Automation Interface, Add-Ins and Tools / Support .NET 5.0
« on: July 05, 2021, 07:59:40 pm »
Does the EA interop support Add-in development for .NET 5.0?
I got it working with .NET Framework 4.7.2 (Installing an Add-in to EA, debuggin in Visual Studio with EA attached), but no succes with .NET 5.0.
I can't seem to register for COM interop, or make COM visible. Am I restricted to the use of the .NET Framework and/or is the use of .NET 5.0 too hacky?

Pages: [1]