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

Pages: 1 [2] 3 4 ... 18
16
Suggestions and Requests / Re: convert EA elements
« on: December 02, 2013, 09:03:29 pm »
Hello!

I want to access programmatically classes which are owned by a diagram via a hyperlink for that diagram.
Is there an existing way to do so, or I must convert the diagram hyperlink to a regular diagram?

Thank you!

17
Suggestions and Requests / Re: convert EA elements
« on: November 26, 2013, 09:32:33 pm »
Thank you all for quick answers!

18
Suggestions and Requests / Re: convert EA elements
« on: November 25, 2013, 09:48:02 pm »
Thanks a lot!
As you see I'm a new user of EA and this forum seems to be very helpful!

19
Suggestions and Requests / Re: convert EA elements
« on: November 25, 2013, 07:30:04 pm »
OOPS- thank you for conversion of my attention!
but how do I access diagramObject's GUID?

20
Suggestions and Requests / Re: convert EA elements
« on: November 25, 2013, 06:51:59 pm »
Hello!
Thanks for quick reply!
I'm still stuck with that issue:
I want to loop on all diagram element. This diagram is an owner of only packages. I want to refer the elements like packages:

foreach (EA.DiagramObject curElement in selectedDiagram.DiagramObjects)
                  {
                  int packageID=curElement.ElementID;
                  EA.Package package= Repository.GetPackageByID(packageID);
                  }

I accept this message :"Can't find matching ID" :(

Thanks in advance!

21
Suggestions and Requests / convert EA elements
« on: November 25, 2013, 12:26:22 am »
Hello everybody!
I want to convert programmatically EA.Element which its type is Package, to EA.Package.
Any Idea?

Thanx

22
Suggestions and Requests / EA add-ins
« on: November 25, 2013, 12:20:03 am »
Hello everybody!
I develop some add-in for EA using c#.
I created a singleton class used to access EA.Repository from the different methods, instead of sending the repository as a parameter each time.
Any idea how to relate EA.Repository to this class?

public sealed class EARepository
      {
            private static EARepository instance= new EARepository();
            private EA.Repository Repository;//member to hold repository
             public static EARepository GetRepository
            {
                  get
                  {
                        return instance;
                  }
            }
            private EARepository()
            {
            }
      }
Thanks in advance.

23
General Board / EA with Version Control Issue
« on: December 03, 2015, 08:24:27 pm »
Hello,

I use a Version Controlled EA model.

When I checkout one of the packages I get the following error:
 Reserved error (-1601); there is no message for this error.

Another annoying result is that the sub-packages get empty.

Any ideas???

24
General Board / Export EA diagram to Visio
« on: October 20, 2015, 10:52:19 pm »
Hello,

I know it is possible to import Visio to EA.
Is export also possible?

25
General Board / Re: Transfer Data to EAP
« on: August 17, 2015, 03:53:11 pm »
Quote
Those connection strings are tricky. Can you post yours?

q.

How can I retrieve the connection string from my DBMS model?

I tried the Repository.ConnectionString, but it returns the model path instead of the connection string. Again, this is not a simple JET EAP model, it is a DBMS (Oracle)

Any ideas?

26
General Board / Transfer Data to EAP
« on: August 16, 2015, 10:19:22 pm »
Hello,

I encounter an error while trying to transfer DB data to a simple eap file.
I paste the connection string as the source and an almost-empty eap model as target.
The following error is displayed:
"The selected source database driver is not supported by EA".

Any ideas?
Thanks in advance!

27
General Board / Revert Version of Package
« on: July 20, 2015, 08:40:31 pm »
I would like to revert version of a package.
Right click on package | Package Control | File History is how I get the previous versions.

Then I have 2 options: Retrieve or Checkout.
As far as I understand from EA help, the checkout option checks the package for editing in addition to importing.

My question is: what is the difference in consequence revision?

EA Help:

If you click on Check Out, the selected revision of the package file is retrieved from version control and imported into your model as a package that is checked out for editing.  [highlight]You can subsequently check in this revision as a new HEAD revision - effectively allowing you to revert a package to a prior revision.[/highlight]

If you click on Retrieve, the selected revision of the package file is retrieved from version control and imported into your model, but the package remains flagged as checked-in, so it cannot be modified.  [highlight]Subsequently checking out the package  updates the package to the latest revision before it is unlocked for editing.[/highlight]

28
General Board / Re: Last Created Elements
« on: June 07, 2015, 03:19:17 pm »
Quote
You might use the audit for that purpose. No idea if it will work. Just an idea.

q.

What do you mean in "audit"?

29
General Board / Last Created Elements
« on: June 03, 2015, 07:41:38 pm »
Hello,

I would like to get list of elements added to model last month;

I run a search on t_object where CreatedDate propery is during the last 30 days. This works fine for new elements created this month.

however, imported elements have their own creation date, with no hint that they were added to current model this month.
How can I get the list of last imported elements?

Thanks is advance!

30
General Board / Re: EA COM Object
« on: June 02, 2015, 09:00:59 pm »
Quote
I don't get it.
It looks like you've asked the same question (each time worded a bit different) at least 4 times here and on Stackoverflow.
Do you really think that is going to do any good? :-?

Geert

Each time I encounter another barrier. you can see the details added one by one...
Am I the first in world to run EA via service?  

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