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

Pages: [1]
1
Hello all,

I'm trying to use the baseline diff to find changes on the model because of removing a whole package.
I got unexpected number of changes on my first try. Obviously not related to the removed package.
So, I created a baseline and directly compared it with the model. Surprisingly the diff shows a lot of differences (expected: 0).
Does anybody know how to get rid of this automatic changes on baseline creation. The model seems to stay unchanged, but the baseline is different.
If I get a second baseline (again without any model changes) and compare the model again, the same differences are shown as in the first run.
Example of such a diff: The scope of a 'dependency' link is set to 'Public' in the baseline, but it is empty in the model.

Any idea, why this happens and how to avoid it?

2
It's a long time ago this thread was touched, but I'm interested: Is it still impossible to check the integrity via automation?
I already checked the documentation, but was not able to find a hint on that.

3
Hello,
I'm executing a JScript in EA by using ScriptController from outside the application. Goal is to call a Enterprise Architect script from a C# application by previously getting the script directly from t_script database table and call it afterwards.
Usually the EA JScript user calls Session.Output to print logs to console. This can't be used from outside.
I tried to replace it by simply calling print instead, but this is not working. A COMException is called with "Object expected" as message.
Does anybody knows a way to redirect messages by replacing Session.Output by something else?
The change is done dynamically without modifying the original script content.

4
Hello, I'm looking for the best way to disable the security by automation. In 2015 there was a thread created about this topic: https://www.sparxsystems.com/forums/smf/index.php/topic,5722.0.html. But the solution was not really given. The idea of this thread was to use the undocumented Execute() function of Repository class. I tried and it works, but it is not an acceptable solution as it uses a method that is not officially released and it manipulates the database.
Our company is looking for a better solution.
Does newer EA version (14) automation interface supports this feature?
Do you know any other feasible way using automation to disable the Security?

Why do we want to disable it? Because the locally transfered EAP file from DBMS shall be made accessible. With authentication by Windows account enabled, it is not possible to open the project.

Pages: [1]