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 ... 817
1
because the value 0.2 is not equal to the value '0.2','0.3'
If you wanted the "in" to work, you would need to have multiple element with name 'special info' where each of them has a single possible value. e.g.
- 0.2
- 0.3

SQL will not parse and evaluate the string that is returned by the subquery; it tests if it matches one of the returned strings exactly; and in this case it doesn't.

Geert

2
General Board / Re: model migration: qea-->qeax
« on: Today at 02:54:40 am »
Probably using Settings | Model | Transfer | Project Transfer | Full Project Transfer via connection

I'm not 100% actually qea file actually differs from a qeax file.
It's possible you can simply change the file extension to make it work like you want.

Geert

3
@Geert, I think he is talking about something similar to the behavior of BPMN 2.0 elements that change the behavior of the visible tag values according some other tags (like when you change an Activity type, then other tag values are visible or hidden). So, is this possible to do? or is it just limited to BPMN 2.0 because is a native MDG?
No, you can't replicate that behavior using only an MDG. I don't even think you can replicate it using an add-in, unless you re-write your own versio of the properties dialog.

Geert

4
Diagrams are not always rendered on the fly.
There is a setting (see "Settings => Options => Cloud") where you can define that EA should always auto create a diagram image.
There even is a button to batch create all images available in the model.
This is necessary when using the WebEA functionality as this application has no ability to render the diagrams itself.

As far as I know, the images are stored in a separate table "t_images" or "t_document". I'm not quite sure which.
There is another thread on the forum somewhere that discusses this exact issue, and the location of the diagram images.
It's definitely in the database as ea0522 suggests.

Geert

5
General Board / Re: Add-in without license
« on: Today at 02:46:16 am »
Thank you for the replies. I do have license for EA, but reading documentation I understood my add-in would also require a kind of license.
Actually, I would like to be able to use a JScript (stored in a MDG) to listen and act on EA_OnContextItemModified event - could I do that, please?
There is a new model-addin feature that uses Javascript, but I don't think you can store such a model-addin in an MDG
Regular scripts can't use the events.

You need either your own add-in, or EA-Matic.
But anyhow using add-ins doesn't require any kind of extra license; unless you would want that, and programmed it into your add-in.

Geert

6
General Board / Re: Add-in without license
« on: February 01, 2023, 05:31:36 am »
Whether or not the add-in requires a license is up to you as license developer.
You can develop and deploy an add-in without having a license for EA, but you wouldn't be able to test it.
You cannot run EA without a license for EA, so there's no way for you as a developer to know if it works or not.

Geert

7
General Board / Re: Sql to get its info from fields of a model element
« on: February 01, 2023, 03:19:41 am »
because the "in" statement checks for an exact match in a list of values, unlike the "like" operator.

So it will only return those instances where it matches exactly.

Geert

8
General Board / Re: Best method to differentiate between AS-IS and TO-BE
« on: February 01, 2023, 01:33:06 am »
I've encountered organisations using that Catalog/Projects aproach a few times.

They always had the same theory, and told me they where going to do that.

What I haven't seen is a working example of such an approach in practice. "Promoting" or merging the "project" stuff into the "catalog" stuff is almost impossible and definitely costs massive amounts of time.
Quite often there was this; "yeah we still have to merge that stuff" response.

Another major flaw of this approach is that you loose sight of your dependencies.
If Project A plans to replace a componentA, and project B plans to change some stuff on componentA. How and when will project B get notified?
All these types of inter-project dependencies are very difficult to manage if each project lives and works on it's own island.

That's what Ian is trying to solve with his add-in. So if you insist on this type of approach, I would definitely look into the Portfolio manager to get some automated support for this process.
If not I'm afraid this will only work in theory.

Geert

9
Yes, you can change the direction of the auto layout using the diagram properties from the context menu on the background of a diagram
Properties | Diagram | Set Layout Style | Direction | Down

There is a checkbox on this dialog to set this as default:  Set as Project Default

Geert

10
Start by trying again with the latest version. (16.1.1623)

There have been some reports of this type of weirdness using the early V16 versions

Geert

11
General Board / Re: Best method to differentiate between AS-IS and TO-BE
« on: January 30, 2023, 08:36:59 pm »
Geert, how do you "tag" the elements impacted with a change object, please?
with the scripts I linked in an earlier reply

Geert

12
General Board / Re: Sql to get its info from fields of a model element
« on: January 30, 2023, 08:36:06 pm »
looks like you want to use a like operator

Code: [Select]
select Obj.Name, Obj.Alias
from t_object  Obj
inner join t_object  k on k.Name='special info'
                                 and k.PData5 like '%' + Obj.Phase +'%'
where
Obj.Object_Type='requirement' and Obj.Phase in

Geert

13
General Board / Re: Shared project in a team - better strategies
« on: January 29, 2023, 11:09:08 pm »
A agree. Go for a central database approach.
The setup is quite simple, create a database, run the setup script that creates the table, and transfer your project to the SQL Server.

Most used (from my point of view) is SQL Server, but I guess the others are fine as well of you are already familiar with one of those.

Only Oracle should be avoided. For some reason using this database ends up having terrible performance.

You might want to look into the security feature, using the "require user lock to edit" in order to somehow manage the multiple users working on the same stuff.

Geert

14
General Board / Re: Concurrent installation of EA Ultimate and EA-lite
« on: January 27, 2023, 03:52:53 pm »
Have you tried renaming the EA program files folder before installing EA Lite

Geert

15
Automation Interface, Add-Ins and Tools / Re: inline edit element names
« on: January 26, 2023, 05:30:38 am »
You can use the editablefield property

Example:

Code: [Select]
shape main
{

DefSize(130,75);
AddSubShape("process",100,100);
if (HasProperty("stereotypehidden","true"))
{
addSubShape("name",100,10,0,-90);
}else
{
addSubShape("stereotype",100,10,0,-95);
addSubShape("name",100,10,0,-90);
}

shape process
{


StartPath();
lineto(85,0);
lineto(100,50);
lineto(85,100);
lineto(0,100);
lineto(15,50);
lineto(0,0);
endpath();
FillAndStrokePath();

}
shape name
{
h_align = "center";
v_align = "TOP";
editablefield = "name";
PrintWrapped("#name#");
}

shape stereotype
{
h_align = "center";
v_align = "TOP";
editablefield = "stereotype";
println("«#stereotype#»");
}

}
Geert

Pages: [1] 2 3 ... 817