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

Pages: 1 [2]
16
Can anyone give me a hint, how I can get the first- and surname of the logged in user?

By calling
Code: [Select]
string logInUserGuid = Repository.GetCurrentLoginUser(false);
I only get the login-name. Do I have to search the name via GUID from the database, or is there any method to get that info?

17
Ok, thanks for your explanations.

I've just found the following:
https://sparxsystems.com/enterprise_architect_user_guide/14.0/modeling_tools/importmdgtechnologies.html

As I understand, it's the best solution to import the MDG to the model, if the MDG shall be used by all users of the model.
Will the MDG then be stored in the model, or does every user need access to the folder on our network directory, where the MDG is located after generating it?

18
Automation Interface, Add-Ins and Tools / Star symbol behind MDG name
« on: April 03, 2019, 01:07:14 am »
Does anybody know the meaning of a star (*) symbol behind the name of a MDG technology in the MDG managment window?
In the company, we are using own document templates, that are contained in our own MDG technology. When adding this MDG to EA an restarting it, a star symbol is shown behind the name of the MDG.

Secondly our MDG appears twice in the MDG Technologies window.
Location of the first entry is "Model". The location of the second entry is the path to our network directory where the MDG is stored.
As far as i know, there should only be one entry?! Why do we have two of them?

19
Hi Geert, thank's for the hint to that table. I'll take a look at it.

Unfortunately it seems like I am the only one who wants to get this specific parameters via script ;)

20
Hello,

i've got two classes which are connected by a Template-Binding connector. In the Properties of this connector, there is the tab "Binding", where i added some "parameter substitutions".

I need these parameter substitutions from the connector. I've tried to get access to that via JScript, but i don't find the right keyword of the connector class.

I've tried several connector attributes but could not find the right one to get the information I need.
Does anyone know which attribute i have to read from the connector get the binding?

The connection between the classes is made like shown in this tutorial:
https://www.sparxsystems.com/enterprise_architect_user_guide/13.0/model_domains/template_binding.html

21
Hi,

I just want to provide some feedback about the Solution of this Problem.
The failure was not caused by EA itself, but by one of our PlugIns, that had not been modified for using a DB based EA-project.

22
Thanks for your help guys.

I've set the options in the ODBC connector and also tried multiple versions of the connector ( v5.3.6, v5.2.4, v5.1.13 and 5.1.6) and MySQL database (5.0.45 and 5.6.11).
Sparx recommends ODBC driver v5.1.5, but this one is only available as source code from MySQL.

Support was contacted but needs much time to answer.

23
Same for the scratchpad in EA.

24
Executed in MySQL Workbench I get exactlx the same error message like in EA.

25
The error always happens if I klick on an object like a component, interface in a diagram. Not on connectors or something in the Project Browser.

26
I've already tried v5.3.6, v5.2.4, v5.1.13 and 5.1.6 all with the same result. The one recommended by Sparx (5.1.5) is only available as source code from MySQL.

27
I've also tried a newer version of MySQL (5.6.11) an the newer script "EASchema_Alter851to1220_MySQL.sql" with the same effect. The I tried to load a smaller Project to the same database. In this case the errors don't seem to happen.

Now I think, this should be an Error in the project file, not in the database.

28
After transferring our project to MySql DB I receive the following error when clicking on any object in any diagram:

"Microsoft OLE DB Provider for ODBC Drivers [-2147217900]

[MySQL][ODBC 5.3(w) Driver][mysqld-5.0.45-community-nt]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Precision, Scale,
Const, Style, Classifier, Default, Type, StyleEx
FROM t_attr' at line 3

Context:
SELECT
Name, Scope, Stereotype, Containment, IsStatic, IsCollection, IsOrdered, AllowDuplicates,
LowerBound, UpperBound, Container, Notes, Derived, ID, GenOption, Length, Precision, Scale,
Const, Style, Classifier, Default, Type, StyleEx
FROM t_attribute
WHERE t_attribute.Object_ID = 20243"

I searched the DB for this Item but in the table "t_attributes" there's no object_id 20243.

Before transferring the model to the DB, I started the Project integrity check with "recover/clean" option checked.
I also ran the sql script "EASchema_851_MySQL_InnoDB.sql" on the DB.

After that I used "Project Transfer File to DBMS" to transfer the model to the DB with no errors.

Can anyone give advice on how to fix the error?

Pages: 1 [2]