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

Pages: 1 2 [3] 4 5 ... 37
General Board / Re: Respository Usage Statistics
« on: January 10, 2017, 11:22:24 pm »
Thanks qwerty will explore along those lines.


General Board / Respository Usage Statistics
« on: January 10, 2017, 10:46:05 pm »
Hi All

I have a need to collect and report on repository usage statistics in a multi-user repository with security enabled. For example, when users have connected, disconnected and their total connect time.

I believe EA does not capture this data within a repository.

One method would be to create an add-in that responds to the File_Open and File_Code broadcast events, and creates a log file which can the processed at some future stage.

Is there any method that does not use an add-in at all?



General Board / Re: Connect Oracle to Enterprise Architect
« on: December 23, 2016, 01:51:00 am »
I would also use the Oracle supplied OLE DB drive and not the Microsoft version which does not work with EA.



General Board / Re: Get a gateway's "Type"?
« on: December 13, 2016, 07:10:25 am »
I would try looking through the Tagged Values, since that is where the type of gateway is et when using BPMN 2.0

You can enumerate




Try the following

SELECT t_object.ea_guid CONCAT t_object.Name

     AS "BaseClassName.Hyperlink"

     FROM t_object, t_connector

     WHERE t_connector.Start_Object_ID = #OBJECTID#

     AND t_object.Object_ID = t_connector.End_Object_ID

     AND t_connector.Connector_Type = 'Generalization'


Bugs and Issues / ArchiMate 3.0 and Compositions
« on: November 30, 2016, 01:41:45 am »
When using ArchiMate 2.0 and EA (prior to version 13) and in Version 13, creating a composition relationship between two elements, and then nesting the child inside its parent, causes the composition relationship to be hidden on the diagram, which is exactly what I want, and is very useful.

However, I have just migrated a model from ArchiMate 2.0 to ArchiMate 3.0, and these compositions are NOT hidden within nested structures, which is disappointing and rather annoying.

Anyone else noticed this? If so, has anyone reported this?


Automation Interface, Add-Ins and Tools / Re: SelectTargetPackage Dialog
« on: November 07, 2016, 09:21:55 pm »
Answer was staring me in the face.

Just use InvokeConstructPicker("IncludedTypes=Package");

Brings up the Select Item dialog rather than select Target Package Dialog, but end result is the same.



Automation Interface, Add-Ins and Tools / SelectTargetPackage Dialog
« on: November 07, 2016, 08:22:22 pm »
Hi All

Does anyone know if there is an API function to invoke the SelectTargetPackage dialog?

I am aware of InvokeConsructPicker but this is a different dialog to the one I am after.

I have searched the AIP reference but cannot seem to find such a function.



Fixed it!

The problem was with the XML encoding string

It should be utf-8 and not Unicode (UTF-8)

What confused me was that using the Code Generation from the Project Browser, the dialog lists Unicode (UTF-8), hence I used that in the script.

However, upon examining a generated XSD schema, I found t should be utf-8, put that in the script and it worked!

My correct call is

projectInterface.GenerateXSD(projectInterface.GUIDtoXML(thePackage.PackageGUID), fileName, "utf-8", "GenGlobalElement=0");

where filename has been obtained as :

var fileName = projectInterface.GetFileNameDialog("", "XML Schema Files (*.xsd)|*.xsd", 1, 2, "C:\\EA-Projects\\", 1);


Definite red-face time  :-[ Should have spotted the missing : after C

Added the missing : same result

Access Denied

However, by converting the string GUID to XML using GUIDtoMXL, I get rid of the access denied, but it still does not work  >:(

This time I get

Unspecified error

with GetLastError returning a null string. So no help or clue there.



Hi All

I am developing a script and using JScript (this the choice of the client for whom I am developing the script).

This is my code

   projectInterface.GenerateXSD(thePackage.PackageGUID, "C\EA-Projects\Generated1.xsd", "Unicode (UTF-8)", "GenGlobalElement=1");
   Session.Prompt("Error " + projectInterface.GetLastError(), promptOK);

Upon execution I receive an Error from EA informing me that Access is Denied. I certainly have write access to the file specified.
The result of the GetLastError is

Please specify output file name.

Which clearly I have.

Using the same file path and options, via invoking Generate XML Schema from the Project Browser package works just fine.

I get the same error whether the filename is hardcoded or accepted from Save As dialog, and no matter what the file path is.

The PackageGUID is definitely the root package of an XSD schema.

Ah just noticed the User Guide specifies that the PackgeGUID must be in XML format, but does not state what that should look like.
I am simply passing the GUID as a string, so this maybe the cause.

What should the PackageGUID string look like in XML format?

Any ideas?



Uml Process / Re: Specification Manager
« on: September 06, 2016, 10:21:11 pm »
Hi Amy_N

If you are using EA version 13, then tagged values can be added as follows:

1) Open the specification manager
2) Set the Default Type by choosing the Set Default Type section of the Specification Ribbon
3) Select an element that contains the tagged values within the Project Bowser
4) Right-click the Specification Manager title bar and select Add Tagged Value Column
5) In the resultant dialog ensure the check box Tagged Values from Selected Element is selected
6) Choose you Tagged Value from the drop down list

I would imagine a similar process would work in earlier versions of EA.



Bugs and Issues / Glossary Tool Tip
« on: September 02, 2016, 11:43:23 pm »
I do not use the glossary feature very often, but in EA version 12.1 and before the glossary meaning for a term was displayed in a tool tip upon a mouse rollover.

However when using EA version 13 build 1304 I found this tool tip has been replaced with

CTRL + Click to follow link.

This opens the Glossary Detail dialog where upon this glossary term can be modified or even deleted (provided the User has privileges to do so!).

Please revert back to the previous before, which oddly is how it is documented in the EA Version 13 help (that is EA version 13 glossary tool tips behave differently to that specified in the help).



Bugs and Issues / Re: EA Version 13 - GetMenuItem IsChecked issue
« on: August 30, 2016, 08:25:02 am »
Bug reported to Sparx, which they have confirmed, and just received a reply that this has been fixed in the next release.


General Board / Re: Set Page size in a Documentation Template
« on: August 26, 2016, 06:18:37 pm »
Thanks for your reply

I have found the solution

Using EA version 13 Beta to set the page size:

Use the Document | Edit Ribbon
Select Edit followed by Edit section...

Complete the dialogue for page settings for this template (or section within template)

Using this it should be possible to use mixed paged sizes with a template and within a document (using master and model documents) although I have not tried this.



Pages: 1 2 [3] 4 5 ... 37