Recent Posts

Pages: 1 ... 6 7 [8] 9 10
71
You're probably looking for EAElement.LoadLinkedDocument (string Filename)

q.

No, that's not it. That will only load the contents into the linked document of the element, not have it as external document.

I'm not aware of any API function to do so, but I never really had to look for it either.

Geert
72
Suggestions and Requests / Re: RAML
« Last post by Helmut Ortmann on February 20, 2018, 04:22:50 pm »
Hi,

have a look at GitHub (https://github.com/bayeslife/api-add-in).

Best regards,

Helmut
73
You're probably looking for EAElement.LoadLinkedDocument (string Filename)

q.
74
General Board / Re: Status colors not displayed in Archimate diagrams
« Last post by Sunshine on February 20, 2018, 07:45:04 am »
Status colouring works fine for me with ArchiMate 3 using the Diagram Legend.
Check you have done all of the following otherwise it won't work;
  • Have ticked the apply auto colour
  • Set Element.Status in the Filter
  • Have set the list of values exactly the same as the options in status

All explained in the user guide - using priority as an example
http://www.sparxsystems.com/enterprise_architect_user_guide/13.5/modeling_tools/diagram_legends.html
75
General Board / Re: Status colors not displayed in Archimate diagrams
« Last post by michielper on February 20, 2018, 06:12:32 am »
I recommend you use an auto color legend. Drop a Legend on the diagram (from the "Common" toolbox), in its properties tick "Apply auto color", set Filter to "Element.Status" and set the fill color or line color as required. These were added at 12.0.1213.

With Archimate elements, legends do not seem to work; colours of elements and connectors are not changed. Is there away around this apart from using straight UML elements?
76
harshvir

>> 1. Strong Programming skills.
I have fumbled my way through the documentation og the EA API and definitly used this forum MANY times. When scripting diagram generation it was the complexity of X,Y coordinates and ensuring nothing overlaps. Enterprise Architect Diagram Layout usually gives very bad results in my opinion.

>> 2. Citrix
We use a locked down network as weill. To "program on the outside" you'll need an development environment like SharpDeveloper. Not an option here (or for me). Luckily we develop alot of our own software for ourselves - so we got a developer environment With more freedom. Don't have one? Then you will need to "program on the inside" within EA as indicated by Arshad.

Another tip: You can use EA to reverse engineer the database to discover attributes that are not available in the API. The EA API responds With JSON format. But using JSon2CSharp free online convert you get classes to deserialise anything.

Check out my GitHub link I sent. I admit I am no guru either but thankfully we got Internet.

/ EjC //
77
Hi,

Anyone know if there is an API that can be used to add a document (as an artefact in t_object and corresponding extdoc entry in t_document) to a Sparx repository ? If there isn't' an API has anyone got a script that does this ?

Regards,

Jon.
78
Automation Interface, Add-Ins and Tools / Re: WebEA user authentication
« Last post by Eamonn John Casey on February 20, 2018, 02:34:53 am »
Uffe,
 I registered this With Supprt a few weeks back and the response is that Windows Arctive Directory login "does not work as intended".

I do not want to og to the bother of:
a. Creating a Enterprise Architect account for each Active Directory user (e.g. AD/Account --> EA/EA_Account).
b. Neither do I want to open the WebEA for "Public Access" (no user).

If you post it as a Bug, I will +1 it. Just simply have not the time right now.

Here is Support:
Quote
Re: Reference Number: 17127682 : WebEA: 400 Request does not contain User ID

Unfortunately there is not currently any workaround to login to a security enabled model in WebEA without entering an ID/Password. Currently you will need to use login_prompt = "true" and enter credentials to log in.

Please also note, WebEA does not support automatic login using Windows Authentication. When functioning as intended, the only way to login (to a Security enabled model) in WebEA without a User/Password prompt is to use...

From this it seems that Active Directory Security MUST be switched off....

Eamonn J.
79
General Board / Re: Help w Microsoft SQL Server
« Last post by Geert Bellekens on February 20, 2018, 02:05:12 am »
Must be something wrong in the connection string.
Try setting it up again, and check the "allow saving password" checkbox if you are using an SQL server user to connect (as opposed to using Windows Authentication)

Geert
80
General Board / Re: Help w Microsoft SQL Server
« Last post by RWHurra on February 20, 2018, 01:43:03 am »
Thanks Geert!

I realized that I ran the scripts on another DB. I can now connect and use the SQL Server, however, every time I login and connect it claims I entered the wrong password in the connection setup and is asked to enter it again. I enter the same password and get connected. Minor problem, but will probably be annoying in the long run.

Heard of anything like it? (:

Robert
Pages: 1 ... 6 7 [8] 9 10