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 ... 36
16
Bugs and Issues / Re: Tagged Values in a Profile
« on: January 27, 2017, 11:46:27 pm »
When creating an MDG and using the MDG helpers you are prompted for and MDG ID, this is used to name your profile packages

This MGD ID must be the same as the ID used in the ID in the MDG Generation wizard, it also must be less than or equal to 12 chars and ideally contain no spaces.

Then all should be OK

Phil

17
General Board / Re: Respository Usage Statistics
« on: January 10, 2017, 11:22:24 pm »
Thanks qwerty will explore along those lines.

Phil

18
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?

Cheers

Phil

19
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.

Cheers

Phil

20
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

myElement.TaggedValues

Phil

21
Hi

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'

Phil

22
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?

Phil

23
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.

Cheers

Phil

24
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.

Cheers

Phil

25
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);

Cheers
Phil

26
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.

Cheers

Phil


27
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?

Cheers

Phil

28
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.

Cheers

Phil

29
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).

Cheers

Phil

30
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.

Phil

Pages: 1 [2] 3 4 ... 36