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

Pages: 1 [2] 3 4
16
General Board / How to get stereotypes fully qualified name?
« on: October 19, 2023, 05:47:14 pm »
I have created Element with some stereotypes of different profile.
I am using interop.ea.dll to work with EA soap apis.
 
Here element's `FQStereotype` attribute only returns value for first stereotype.
and element's `StereotypeEX` attribute only returns list of stereotypes normal names not fully qualified stereotype names.
 
So, is there any mechanism to get all the stereotypes of element with its fully qualified name?
 
Code we used to get stereotypes values:
 

using System;
using System.Runtime.InteropServices;
using EA;
 
namespace EAInteropExample
{
    class Program
    {
        static void Main(string[] args)
        {
         String entityGuid = ##;

            // Connect to Enterprise Architect
            Repository repository = ConnectRepo();
 
            // Ensure that the repository is open
            if (repository.IsProjectOpen)
            {
            Element element = repository.GetElementByGuid(entityGuid)
            if (element != null){
               Console.WriteLine(element.FQStereotype);
               Console.WriteLine(element.StereotypeEx);
            }
 
                // Close the repository
                Marshal.ReleaseComObject(repository);
            }
            else
            {
                Console.WriteLine("Enterprise Architect project is not open.");
            }
        }
    }
}

17
General Board / Add discussion in Package via API
« on: October 18, 2023, 07:47:41 pm »
Hello all,

I am trying to add discussion in package via API, but I am not able to do it.

Is there any way where we can add discussion in package via api ??

Thanks and regards

18
General Board / Extract association element-stereotypes
« on: August 29, 2023, 06:02:09 pm »
Hi,

I assigned two stereotypes to an element. If I open the properties mask I see that the two stereotypes have been assigned.
1. In the t_object table I see that the first of the two stereotypes has been assigned for that element. In which table do I find the other assignment?
2. In the case of this multiassignment, there is also a way to extract which element a stereotype is associated with without using SQL, using the tool directly (e.g., the search mask)

Thanks

19
General Board / Hide :parent_name for instance element
« on: August 23, 2023, 07:15:27 pm »
Hi,

I have an Actor (Developer). When I create an instance of this actor, it is displayed as :Developer..
Who can I hide ":Developer"?

I removed the check "Show Additional Parent" but still the parent is displayed.
I have checked "Disable fully scoped object names" but still the parent is displayed.

Thanks

20
General Board / Regarding the EA SOAP APIs
« on: August 21, 2023, 09:34:00 pm »
Please help with the SOAP APIs to perform the below:

1. Package creation
2. Package Update
3. Get all packages with filtration
4. Will package get SOAP api response give creation and last modified date for Package?
5. How to add the Diagram and element in the Package

21
General Board / Extend BPMN2.0 MDG
« on: August 02, 2023, 11:19:23 pm »
Hi,

I want to extend the BPMN2.0 MDG.
I want create my Toolboxpage" with BPMN2.0 objects to have other background colors as default colors.

I created my new stereotypes as a generalization of BPMN2.0.
1. I created a new profile that contains the MyActivity stereotype as a generalization of the BPMN2.0::Activity metaclass.
2. I created a Toolbox profile in which I extended the "Toolboxpage" metaclass with "myPage" stereotype containing MyActivity.
3. I generated the MDG technology and imported it as "Resources".
4. I created a new BPMN2.0 business process diagram.
5. From "myPage" I can drag MyActivity (ActivityA) into the diagram without any problems.
6. I can connect BPMN2.0 activity (ActivityB) to ActivityA without any problems.
7. When I validate the diagram, I get an error related to the connection between A and B --> Error: Sequence flow must connect to a flow node (current target is 'ActivityA').

Can you help me?

22
General Board / Regarding the version one control EA
« on: July 13, 2023, 04:01:37 pm »
One of our customer is using Git/Bitbucket to version control eapx files. We want to integrate requirement diagrams to third party tool. Can you please guide, if there are integration APIs to read and write requirements and diagrams when EA is version controlled using Git and Bitbucket.

A quick reply would be helpful.

23
Hi,

in a class diagram I have three classes: class A, B and C. Class B inherits from class A. I should relate some attributes of class B inherited from class A, to a class C.
Is it possible to trace relationships between inherited attributes and attributes of another class?

Thanks

24
General Board / Cannot display attribute Tags
« on: June 15, 2023, 03:06:01 pm »
Hi,

I can't display the tags I have associated with a class attribute?
I have created a UML Type/Tagged Value Types. I have associated this Tag with a class attribute.
In the diagram and in the compartment visibility, I selected "Tag."
I cannot see the tag, near the attribute in my diagram.

Thanks



25
Hello all,
 
I have Pro-Cloud Server installed in my machine and I want to know that is there any way to get ordered response by the Pro-Cloud Server Rest-API ? Is there any way to get the API Response in ordered way, like in descending manner of created date.

Also, I wanted to know that whether Pro-Cloud Server Rest-API provide a way to perform groupBy operation in the response of the Pro-Cloud Server Rest-API ? Also, is there any way to perform groupBy operation in the response of the Pro Cloud Server Rest-API

Thanks

26
Hello all,
 
I have Pro-Cloud Server installed in my machine and I want to know that is there any specific Rate-Limit handling by the Pro-Cloud Server, as I am not able to find it in the Pro-Cloud Rest-API documentation: https://sparxsystems.com/enterprise_architect_user_guide/16.1/the_model_repository/oslc_am_top.html.

If Pro-Cloud Server has rate limit handling, then how does it apply rest limit handling?

Thanks

27
Hello all,
 
I have Pro-Cloud Server installed in my machine and I want to know that is are the Pro-Cloud Rest-API paginated. If no, then is there any way in which we can paginate the API responses? If pagination is allowed, then how can we paginate the API responses of the Pro-Cloud Rest-API

Thanks

28
PCS General Board / Download File using Pro-Cloud Rest-APi
« on: May 03, 2023, 07:47:33 pm »
Hello all,
 
I have Pro-Cloud Server installed in my machine and I want to know that is there any way using Pro-Cloud Rest-API to download any file that is attached to an element and also how can we write a file in an element using Pro-Cloud Rest-API

I wanted to know, whether pro-cloud server provides Rest-API's to create and download files linked to an element? Also, if yes, then what is the Rest-API to do the above and is there any specific kind to license required for the above using Pro-Cloud Rest-API.

Thanks

29
PCS General Board / Create diagram using Pro-Cloud Rest-API
« on: May 03, 2023, 07:41:42 pm »
Hello all,
 
I have Pro-Cloud Server installed in my machine and I want to create diagram using Rest-API, but I am not able to find a Rest-API t create diagrams.

I wanted to know, whether pro-cloud server provides Rest-API's to create diagram? Also, if yes, then what is the Rest-API to create diagram and is there ant specific kind to license required to create diagram using Pro-Cloud Rest-API.

Thanks

30
Bugs and Issues / Regarding On prem EA and Pro cloud server
« on: April 06, 2023, 08:12:46 pm »
Hi Team,

           
           We want to access the On-prem Enterprise Architect using the Pro cloud server.

Do in need to install the pro cloud server in the VM, where the EA is installed ???

Does Trial version of pro cloud server contains the  OSLC 2.0 rest APIs ?

Thanks.

Pages: 1 [2] 3 4