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 - Eamonn John Casey

Pages: 1 2 [3] 4 5
I am using this code to run a report but it keeps failing when the machine is logged off. Anyone have tried this and got it to work?

Thanks in advance.
Eaomnn J.

Code: [Select]
private static Repository repo = new Repository();
private static Project project;

repo.OpenFile2(options.SourceFile, options.UserName, options.Password);
project = repo.GetProjectInterface();
packageName = repo.GetPackageByGuid(options.Package).Name;
project.RunHTMLReport(options.Package, options.TargetFIle, "png", templateName, "html");       

Automation Interface, Add-Ins and Tools / Custom MDG ArchiMate and UML
« on: April 27, 2017, 11:43:02 pm »
Hope someone can help me With this.
I have create and MDG. Toolbox, diagrams and everything i working fine.
The issue that I get is when converting from my MDG to ArchiMate 3 to UML the Aggregation diamond changes direction.

I have a MetaClass that is an Extension of Aggregation. Setting the CompositionType has no affect. I also have the Generalisation to ArchiMate3::ArchiMate_Aggregation.

is there some trick attribute?

The reason I want to do this to be able to export from EA to other Tools that only support UML.

Thanks in advance,
Eamonn J.

Bugs and Issues / Cloud Services v13: Unable to connect to database
« on: March 31, 2017, 08:17:52 pm »
I have configured Cloud Services v13. I have added a few Connections in the Client and enabled the "Allow Connections" option. On the EA Client v13 I try to Connect to the Cloud Server and get the error Message:
  Unable to connect to database

Do I still need to add ODBC System Connections on the server to connect to the database?

On a side note - how can I tell which models have been deployed?

Eamonn J.

General Board / Export XMI not 100% standard UML 2.1 XMI??
« on: March 23, 2017, 12:14:35 am »
I came across this statement when looking for import/export possibilities in EA With otherUML modelling Tools:

Enterprise Architect does not export 100% standard UML 2.1 XMI, and this causes some data loss during the import.

The Reference was to v7.1, 7.5 or 8.0. Is this still true for v12.1 & 13? Is there a niffty way I can check this out?


General Board / Resize Model when dropped on a Dashboard
« on: March 08, 2017, 11:54:37 pm »
I have created a Dashboard diagram and I want to display multiple models/diagrams on the same daashboard but the model image will not resize for me. It springs back to its original size when I try. Is there another way to resize the image?

Eamonn J.

General Board / New Cloud Services: Publishing Feature
« on: March 08, 2017, 10:05:40 pm »

This is probably a question for Sparx Support. But is it possible to run the publish feature in the up and coming new Cloud Services as a Windows Service ?

We currently have problems with this line of code because the user must be logged in to run it and Our server guys automatically log stale sessions as a policy:

Code: [Select]
project.RunHTMLReport(options.Package, options.TargetFIle, "png", templateName, "html");


We have been using the EA 12.1 and the HTML repost generation facility in the API. Problem is that the user running the report must be logged in. This is a security problem on the server because the policy is to log off users after 5 days.
The feature we want is to document in Confluence - which we have been using for years.
We have licenses for EA 13 and looking into Jommla. Jommla is a little tricky becaus we use the model GUID in Confluence.

So it is either:
1. Anyone got EA 13 to run in a Windows Service context?
2. Is Joomla export exporting like HTML reporting but can run as a Windows Service. I would very much like to keep the URI address so we don't have to change all our links if we take on Joomla.

Any experience or input would be greatly appreaciated,
Eamonn J.

General Board / Security: Advice Request
« on: February 17, 2017, 06:50:16 am »

Because of information security issues in my organisation we have multiple Repositories.
It is a real problem to maintain a "central" Repository that everyone can use.

The issues are:
1. Central Repository contiains elements that everyone should use. So this is distributed out using different methods. Creating new elements and distributing that out to the Local Repositories is a manual routine that takes alot of time and formality.
2. Sharing between Local Repositories is impossible. Or atleast so difficult that it simply is not done.
3. Getting elements in from the Local Repository that should be shared out to all is also admin intensive.

Anyone out there has solved the security limitations? Using Group Locking works. But others can read even though they should not have access to that information.

Thanks for any feedback.

General Board / Version Control: Advice Request
« on: February 17, 2017, 06:18:53 am »

I am getting alot of greif from work about the limitations of versioning within EA.
We got:
* Baselining at a package level - which has problems when you (normally) do things across packages.
* Time Based Modelling - new in v13. This is a super feature! But again we are talking package level problem.
* Auditing - not used that. But I get feedback that it makes the system really slow.

* Microsoft Teamfoundation Server
* Subversion, Maven, ond others
* LemonTree
These are great versioning tools but with the limitation (I suppose) that the entire Repository gets versioned.

Anyone out there got some alternatives? Suggestions? Guidance? Reference material?


General Board / Analysis for change management and what if scenarios
« on: February 09, 2017, 08:26:51 pm »
Is anyone doing analysis type stuff in EA 13 / ArchiMate?
I am thinking "If we change process X, what do we need to test?"
Basically querying the Repository to answer analysis questions and not just making modells.

Eamonn J.

Suggestions and Requests / Proper Security
« on: February 09, 2017, 08:21:49 pm »
EA is blown out of the water when it comes to security features found in other Products. Is there any plans to improve Security?
I am thinking:
* Hiding catalogs / models / elements from People that should not see them.

Can someone in Sparx respond to this? It is so serious for my organisation that we are considering changing to another Product even though the other Product has less functionality elsewhere.

I got a problem where I create a Connector through the API and create the same Connector manually. The API Version shows the stereotype in the diagram. The manual one shows the text I want to show. I have create my own MDG.

The code looks like this:
Code: [Select]
public EA.Connector FindorCreateConnector(string fromElementGUID, string toElementGUID, string connectorType, string connectorDirection, string connectorStereoType)
    EA.Element fromElement = eaRepository.GetElementByGuid(fromElementGUID);
    EA.Element toElement = eaRepository.GetElementByGuid(toElementGUID);
    EA.Connector connectorFound = null;

    foreach (EA.Connector connector in fromElement.Connectors)
        if (connector.SupplierID == toElement.ElementID)
            connectorFound = connector;
    if (null == connectorFound)
    connectorFound = (EA.Connector)fromElement.Connectors.AddNew("", "Connector");
        connectorFound.Type = connectorType;
        connectorFound.Stereotype = connectorStereoType;
        connectorFound.SupplierID = toElement.ElementID;
        connectorFound.Direction = connectorDirection;
    return connectorFound;

Calling it like this:
Code: [Select]
FindorCreateConnector(fromGUID, toGUID, "association", "", "NAV_Begrep::relatertTil");
Any ideas what is missing?

I am importing stuff into EA and I am putting the primary key from the Source system into the TaggedValues Collection. Has anyone implemented a way to find the element again using the TaggedValues? Maybe some sort of SQL Query or something.
Any help would be appreaciated,
Eamonn J.

General Board / LemonTree: Anyone got any experience to share?
« on: December 07, 2016, 03:10:51 am »

We got Enterprise Architect 12.1 and will now upgrade to v13. Time based modelling is very interesting but there is critisim in the group that it has the potential to create alot of clone versions inside the repository.
Does anyone have any experience how LemonTree works?
I have used SubVersion and TFS and Diff'ing, branching and merging versions. Does LemonTree do the same for EA elements?
I am thinking that you check in/out of LemonTree al.a.  SubVersion and then deploy the finished version (and only one) to the EA Repository.

Any advice or help greatly appreaciated.
Eamonn J.

General Board / Model View and SQL capabilities
« on: December 02, 2016, 02:49:05 am »
I am trying to make a Model View and I don't know how to put the current package id (the package the diagram is in) into the SQL. Has anyone done this before?

Appreaciate any tips.

Eamonn J.

Pages: 1 2 [3] 4 5