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

Pages: 1 2 [3] 4 5 ... 11
31
General Board / Re: Project Management Using EA
« on: November 12, 2015, 02:11:12 am »
Hi guys

I know this is an old post, but came across the same issue with trying to produce a gantt with the tasks output as ordered in the package.  As stated the tasks are listed in alphabetical order. Is there a way to preserve the defined sort order?

Thanks

32
General Board / Re: Unable to Obtain Table Information
« on: June 02, 2015, 05:03:09 pm »
Thanks to qwerty, who did a check to verify that it was my issue, so on further inspection I found I had used a wrong odbc driver combination, so with some new drivers downloaded from MS all working.  

I managed to use an mbd driver for an Access 2007 format file which worked fine in terms of importing the schema but not executing SQL.

@Roy - thanks, yes the latest chm for V12 has a few more pages on the database builder, so a little clearer.

And so now back to exploring this new feature of EA :)

33
General Board / Re: Unable to Obtain Table Information
« on: June 02, 2015, 06:01:17 am »
Sorry - I'm using Access 2007 (accdb).
My test copied an eap file to accdb which seems to work fine.  The one conversion error I got was "The current file format no longer supports user-level security. The conversion or compaction process has removed any user-level permissions." But the tables looked fine and schema imported OK.

But then my joy of playing slowly disappeared :-?

Hopefully you can shed some light on the issue.

34
General Board / Unable to Obtain Table Information
« on: June 02, 2015, 04:50:27 am »
Started to check out the database builder.
Managed to set up connection and import schema all OK for access database. But then when I use the SQL Scratch Pad with simple SQL query e.g. SELECT * FROM t_authors

I get the message "Unable to Obtain Table Information" and no visible clues to what the error is.  I have tried various syntax changes as it states no pre-execution validate e.g. SELECT * FROM [t_authors] and making all caps but no clues on what's not working.

Seen in past post issues with ODBC drivers, but using 32-bit and that's all OK since the import worked OK; guess that's proof.

Anybody an idea of solution or where more information is logged that may help resolve.

Is there any more documentation on using the database builder than the single page in the CHM file?

Thanks



35
General Board / Re: Importing relationships from Excel
« on: May 13, 2015, 05:27:36 pm »
For completeness eaDocX can also import relationships as well as elements and any required fields from Excel.
Go to EaDocX.com for a trial version which gives you 30days to check out if it does what you want!

36
General Board / Prefix for launch button on files pages
« on: December 09, 2007, 09:35:22 am »
Hi all

Does anybody know where the prefix for the launch button within a files tab is set - by default it adds http - problem is I have several files I wish to link to that are on a secure server hence require the https prefix (or alternatively known in which case I can include full path myself).

Thanks

Adrian

37
General Board / EA aware consultants
« on: December 09, 2003, 02:15:26 pm »
Hi

I have been looking for consultants who are EA aware and have come up with a blank.  Is anybody aware of consultants - ideally based in UK - who are EA aware, have good VBA etc to work with the Automation Interface and ideally have a strong background in high level architecture modelling and requirements management.

Thanks

38
General Board / Re: Importing requirements from Excel
« on: December 19, 2002, 08:13:51 am »
Hi Martin

Thanks for the code and explanation - I'll give it go - probably be tomorrow now.  :)

Its great to have a working example with which to start; there is no substitue for real code to get upto speed quiclky and obtain a practical insight on how the interface really works.  

BTW: Are you (or anyone) aware of any other material in addition to the EA HTML pages on the Automation Interface?  I think its a really good plus for a tool like EA when it provides a usable interface with which to bridge the gap to other worlds.   8)

Once again thanks

Regards
Adrian

39
General Board / Importing requirements from Excel
« on: December 18, 2002, 03:28:28 pm »
Hi

I'm sure I saw something in a thread sometime ago about importing requirements from excel similar but can't seem to find it today.

I have a basic model into which I wish to add a lot of requirements that have been accumulated in an excel spreadsheet. So rather than cut and paste I would like to import them as requirement objects - both to save time & minimise errors!

Once in the model I can then sort them out into packages, etc.

Can it be done using VBA within Excel or do I need to write access code or ???

Any experience / ideas / examples of code to do this - Thanks

40
Bugs and Issues / Re: Operation of TaggedValue HasAttributes fails
« on: July 08, 2015, 05:25:14 pm »
I didn't but thanks for the prompt - I'll do it.

41
Bugs and Issues / Operation of TaggedValue HasAttributes fails
« on: July 08, 2015, 04:43:35 am »
I've been trying to use the taggedvalue methods such as HasAttributes (http://www.sparxsystems.com/enterprise_architect_user_guide/12/automation_and_scripting/taggedvalue.html), but have been getting EA error messages (code 0xc00ce556)  (also see post on automation forum -(http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1436032579) where you see that another experienced forum member has found the same issue with EA.

Tested with EA build 1214, corporate edition.  OS Windows 8.

  • Can you advise if there are any known issues with this method or the other TaggedValue methods?
  • What does the error message "Invalid at the top level of the document" mean?
  • Are there any preconditions/assumptions that could lead to an EA error message?  
  • Can you provide more details of what the error message means?  
If not, is there more information or examples of use available.

Many thanks



42
Automation Interface, Add-Ins and Tools / Re: Call Addin from JavaScript
« on: August 11, 2015, 08:55:23 pm »
@Geert

yes loading an AddIN (i.e. a DLL) is straightforward from scripting - yes the problem is accessing the already running DLL.  My initial tests, some months ago now, didn't succeed and I have the idea of doing some more.  As you say it should be possible as it's only finding the correct table entry in the windows OS and when I get some time I hope to sort it out - perhaps the Christmas holidays!!

However, if you are not worried about state then you could load the addin as a new instance, and I guess if you wanted to respond to EA AddIn events that's where EA-Matic could come into it's own - is it realistic for it to capture and pass on all events that are configured?  Seems a genius idea.




43
Automation Interface, Add-Ins and Tools / Re: Call Addin from JavaScript
« on: August 07, 2015, 06:36:45 pm »
Hi Geert

I must admit I haven't looked at your code, which probably has the answer, but interested to know the approach to getting the reference to the addin as this was the problem found before when working within the scripting thread.

Is your approach to launch the addin from the scripting environment?

I will look at the code when I get time - but curious to know!

Tnx

44
Hi,

All depends if you want to call the running Addin and access current objects or access a DLL that is not "connected" to the running instance of EA.  The problem is finding the relevant reference to the addin DLL.

If you create an object for your DLL there is no problem, however trying to get a reference to the EA "connected" copy proved problematic.

I wrote a post outlining my unsuccessful experiments
http://exploringea.com/2015/03/10/scripting-follow-up-on-case-7-can-a-script-call-a-running-ea-

Let us know if you find a reliable means to identify the addin object as I'm sure there are a few out there who would like to use it.



45
yes

If you look for menuLocation parameter in the calls such as EA_GetMenuItems / Menustate / MenuClick  - it is a string representing the part of the user interface that brought up the menu. This can be TreeView, MainMenu or Diagram.

If you right click on an item you will probably want to check the type of item as you will get an object (e.g. myObject = Repository.GetContextObject ) then if you are looking for an element  you can use myObject.ObjectType = EA.ObjectType.otElement  or similar for other item types

Hope that helps.




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