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

Pages: [1] 2
1
When we lock a package, and the locking gets propagated into the elements in the package, other individuals or groups shouldn’t be able to change or delete connectors connecting elements in the locked package.

In other word, when an element is locked, its connectors should be implicitly locked as well.

Note that this could also be an option, in which case you need different types of locking.
So this is for you an opportunity to use the field LockType in the table t_seclocks.
Today this field is always empty.

Alain

2
Automation Interface, Add-Ins and Tools / Paste diagram objects by code
« on: September 18, 2017, 07:46:57 pm »
Selecting diagram objects seems to be OK: The Diagram class has a collection property called SelectedObjects that we can read and write to.

But I can't find a way to paste the selected data objects into another diagram (by code).

Any idea?

3
When we mix different types of element... in some cases (it seems random), we are no longer able to move SOME elements (not all of them) up and down by using CTRL-Up or CTRL-DOWN or by using the menu option "Move up" or "Move down" on the element.
In addition, the option 'Content / Reset Sort Order" does not sort these elements.

Any idea how to resolve this?

Thank you in advance,
Alain

4
Automation Interface, Add-Ins and Tools / Protecting some MDG
« on: March 09, 2017, 08:47:32 pm »
If we want to make a product out of an MDG, what is the best way to protect it from reverse engineering?
- MDG as part of the database?
- MDG as part of an add-on?
- ...?
Thank you in advance
A.

5
Is there any way to update elements programmatically even when they are locked?
This is needed when a language gets migrated (Stereotype, tag name changes...).

As an alternative, how could we
- Save the locks to a file
- Release all locks
- Reload the locks from the file


6
Is there any option to define the lookup package for each tagged value type of type RefGUID or RefGUIDList?
The syntax for defining tagged value type is: Type=RefGUID; Values=Activity;Sterotypes=MyStereotype

We are looking for something like an extra tagged value type specification like "Catalogue={some refGUID of a package}"
Type=RefGUID; Values=Activity;Sterotypes=MyStereotype; Catalogue={some refGUID of a package}

PROBLEM when using multiple Tagged Value Types of type RefGUID or RefGUIDList :
When the value of a RefGUID or RefGUIDList tagged value is not set, The lookup always starts from the last accessed package location for all tags.
This makes the option of using RefGUID and RefGUIDList unacceptable for our end users.


7
Using the connector API (http://www.sparxsystems.com/enterprise_architect_user_guide/13.0/automation/connector2_2.html)

- how can we figure out that the client or supplier is another connector?

- if the client or supplier is a connector, how can we get a reference to that connector? Would the Client/SupplierID then be the ID of a connector?

8
Does/Will EA run on Windows 10 mobile (is it/will it be compatible with the Universal Windows Platform)?


9
Let's say we have several Application Components that realize (they are connected to) some Business Function.

A key requirements for Enterprise Architecture is the ability to show the application component names directly on business function shapes.

Do we have a generic solution to show names of connected items directly on shapes?
I can't find anyway to do this on Shapescript.
Do we need some add-in?
Do we have any shared code available to do this?

NB: This capability should be built in Sparx

10
Does anybody know in which table(s) the model searches are stored?

11
We have some trouble publishing as HTML using a scheduler on Windows Server.
Our schedulers can export to Excel, create a Project Transfer et... but not an HTML report.
Does anybody have similar problems and knows how to fix this?
Thank you,
Alain

Here are the symptoms:

We wrote a c# program that does a runHTMLReport.

When the programme is launched via a bat file in command line it works fine.

When the same bat file is used by the windows tasks scheduler: the process is launched, we see the EA process starting in the tasks manager, but it ends quickly without generating anything. This is happening either when launched as a local admin user or the service user.

We modified the program to run as Timer class, replacing the windows scheduler tasks inside the program. It works fine launched as me. The problem is it stops if we logoff. Using the runas command to run it as the service user doesn’t work. We get back a message “Attempting to start EAGenerateDocumentation.bat as user …” but nothing happens.

We modified again the program to use TopShelf to turn it as a service. In command line it runs fine, but installed as service, it doesn’t do anything.

12
Does anybody know how to add intellisense for Excel objects in VBscript?
Any type library that needs to be integrated?
Cheers,
Alain

13
Automation Interface, Add-Ins and Tools / _tagGroupStates in MDG
« on: May 24, 2016, 06:42:16 pm »
I have grouped tags in 2 MDGs as described here:
http://sparxsystems.com/enterprise_architect_user_guide/12.1/building_models/define_tag_groupings.html

The grouping works fine but the resulting behaviour of the _tagGroupStates is random. When we click on any element, the groups open or closed do not comply with the specification of the _tagGroupStates in our MDGs.

Is there any workaround?

Thanks

Alain

14
For a specific element or Connector stereotype that is defined in some MDG...

How can we iterate through the list of defined tagged value groups, names and value types
without having an instance of this type of element of connector?

15
When including scripts in an MDG, how can I define the script group (diagram, project browser...) that each script belongs to?

This is to work around the following problem:
When an MDG is activated by an end user, the scripts contained in the MDG are all part of the Normal group.
I would expect that all deployed scripts would keep their original script group i.e. the script group defined in the MDG Technology model.

Pages: [1] 2