Book a Demo

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

Pages: [1] 2 3 ... 94
1
PCS General Board / Re: Project Transfert via the PCS OSLC API
« on: March 18, 2026, 08:45:56 pm »
I submitted it as a feature request with the alternative approach to manage it via the PCS Config Client, similarly to the diagram images update scheduling: with this application, an admin could configure regular backups for a selection of configured EA databases.

2
PCS General Board / Re: OSLC PCS SynchProfile method ?
« on: March 18, 2026, 12:16:01 am »
Hi,

Thank you for the advice. I figured out the stereotype was properly set. Having fixed it, I confirm the tagged values are created in the new element based on the MDG definition, available on the EA project.

Guillaue

3
PCS General Board / OSLC PCS SynchProfile method ?
« on: March 17, 2026, 12:30:03 am »
Hi,

EA Interop API provides a method to synchronize the MDG's stereotypes i.e. matching what one can do in EA via a right click on a stereotype in the toolbox  > Synchronize Stereotype
Example:    Repository.CustomCommand("Repository", "SynchProfile", "Profile=myProfile;Stereotype=test;");

As I create stereotyped elements matching a profile (custom MDG) via the PCS OSLC API, is there a way to run this Synchronize command so that all tagged values matching the profile definition are created ?

Thanks

4
Bugs and Issues / XEA Import error
« on: March 14, 2026, 02:15:49 am »
Hello,

I tried to import a large XEA file with a GUID reset to a new EA repository (shared on Postgres, available via the PCS 6.1.166) and I eventually get an Application Error.
Opening the DBError file, I have the following:

Enterprise Architect (Build: 1628 - 64 bit)
Sparx Systems Database API [0x00001086]
Native Update FAILED with error:
23503 ERROR:  insert or update on table "t_connector" violates foreign key constraint "fkam9fr64t66r6dgjgo3mfoji2a"
DETAIL:  Key (end_object_id)=(0) is not present in table "t_object".
Context:

What could be the issue ?

Updates:
- I upgraded the PCS to the latest build but it didn't resolve the issue
- I ran a project integrity check
- The workaround I found involved importing the XEA file to a blank EA project and re-exporting it with the Strip GUID enabled. I wonder if this is related with conflicts on external dependencies that are removed down by going through a blank EA project. The size of the new file is a bit smaller that the original one




5
In order to create full backups of an EA repository on a regular basis, it would be very useful to configure them via the Pro Cloud Server Config Client.
It would be a new feature alongside the configuration of periodically generate Diagram Images and EA Charts.
A target folder would be selected so new subfolders would be generated each time with the full set of XML files matching EA tables.

Whilst DB backups can be set up on the selected DBMS, such backups have the advantage of being managed with EA.

6
Hi,
Is there a way to open an XML file from a local path in EA source editor via an add-in ?
I have an addin that creates a file and I'd like to open it in EA once generated.

7
Ok. A workaround is to disable the Lock Connectors option and create a model based addin to prevent creating relations only between locked elements.

8
With this option, I can't create a relation between locked elements, but if I need to create a relation between a locked element and an unlock element, it only works if the source is on the unlocked element. Is it because the connector is created on the source element?

9
Hi,

Filters are useful to hide or grey out elements or connectors from a diagram.
There are currently 3 filter sets: Element, Connector and TagValue. The last set applies to elements' tagged values. Would it be possible to support connectors tagged values as a new option?
Working on a UML profile with stereotyped relationships, it would be great to easily filter such links based on their "stereotype" tagged value.

Thanks

10
Hi Geert,

Currently I have 3 or 4 characters in my list of predefined values which makes it tricky to have a consistent result i.e. it's currently fine for values with 3 chars, not 4.
I'll have a look at your examples as it sounds like a fine idea to fix the rendering issues, thanks  :D

Guillaume

11
Hi,

I'm looking at the Workflows scripts to implement control rules e.g. to prevent groups of users from creating or updating specific model content.
First of all, I noticed on the user guide that VBScript workflow scripts are deprecated i.e. add-ins are recommended. Am I right to understand Sparx suggests using Model-based addins ?

According to the "Functions - Validate and Control User Input" page, a script can be triggered with events such as before creating an element or a connector, or before updating a tagged value. For other updates on existing elements, it doesn't seem to be possible to trigger a control before updating an element's notes or name, or creating/deleting/updating an attribute. Is there a workaround with Workflow vbscripts or by switching to a model-based addin ?

I noticed that add-in events include EA_AllowPropertyUpdate which is not supported in the script but I'm not sure if it's related with an attribute update.

12
Hi Takeshi,

Thank you for the explanations  :)

To summarize, the parameters are:
1- Shape name
2- Width
3- Height
4- Relative value (horizontal to move left/right ?)
5- Relative value from the reference point (vertical to move up/down?)

Hopefully Sparx team will add clarifications and examples to cover these additional parameters in the user guide.

13
I just came across a similar issue.
Using a subshape to display the text is great but I can't find the parameters definition for "addsubshape" matching this signature: addsubshape("test", 50, 50, -50, -50);
I'm struggling moving the text to the right location by changing the 4 values (top? width ? ...)

The information I found from the user guide is addsubshape(string shapename(int width, int height))

14
PCS General Board / Service Now mapping and synchronization questions
« on: December 12, 2025, 10:02:20 pm »
Hi,

I have a client's ServiceNow integration configured in their PCS.
In EA, when I open ServiceNow configuration, I can select one of its types as the external type e.g. Application and map it with an EA type or stereotype.
The issue is that I have several ServiceNow items of the same type from different views that I need to map with different EA stereotypes (maintained within an MDG).
If I want to create Local Elements from a ServiceNow view e.g. only with "Type A" components, I have no way of telling EA to create "Type A" stereotypes elements since the ServiceNow External type is common to Type A, Type B...
Would a change be required in this integration to either add views on a mapping, or define multiple mappings for the same ServiceNow external type and select the appropriate one when importing new elements from a view ? Is there a workaround e.g. I noticed there a way to create a Data Miner connection but I can't test it yet since the current EA license doesn't support it.

Other question: Once elements are created in EA, I need to manually run a synchronize linked elements from EA. Is there a way via a script or else to run this synchronization e.g. on a nightly basis? The PCS automatic updates only applies to the diagram/images sync on a repository.


15
Hi,

I have a UML class diagram with classes that show associations with the "link to element feature" enabled e.g. to map attributes with classes.
When the link is on the same class (source/target are identical), the relationship is not visually attached to the attribute.

I tested it on the latest EA17 build.


Pages: [1] 2 3 ... 94