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

Pages: [1] 2 3 4
1
General Board / Does Visibility Levels work in WebEA as well?
« on: January 10, 2025, 10:12:58 pm »
All elements in a model is stored in the same t_object database table. So, if you need to restrict some user's access to certain branches of your model, you will have to use the Visibility Level feature which works on row-level in the database: https://sparxsystems.com/enterprise_architect_user_guide/17.0/the_model_repository/visibility_levels.html

The mechanism is dependent on each user's database account and its security permissions. Will that user account and its restrictions be reflected in WebEA, in case you add user login to WebEA, or does WebEA use a common web server account to access the content of the database (like a number of older web tools do)?

2
General Board / Re: Is there a way to refine model watches?
« on: December 19, 2024, 08:53:21 pm »
Hello Shimon,

Thanks for suggesting the reuse of an already available query; didn't think of that.
I've been able to tweak the SQL myself. My main problem was really that I didn't quite now where to start, since there is no documentation of Sparx' data model.

Mikael

3
General Board / Re: Visualization of imported XSDSchema
« on: December 19, 2024, 08:33:53 pm »
The import provides the option of importing "XSD Elements/Attributes as" UML Associations or UML Attributes. From what I can see, the default is to import as Associations, which should give you closer to what you want.

That is how I did it but thanks anyway, Eve.

Mikael

4
General Board / Re: Visualization of imported XSDSchema
« on: November 29, 2024, 11:10:28 pm »
- This is what it looks like when Spax imports the schema:
https://www.dropbox.com/scl/fi/owwpjdrk43j8hnaecyhwg/Utbetalning_Sparx.png?rlkey=kvj2xqw7254f8gs0r6zqt3k14&dl=0
- And this is what I get when Oracle JDeveloper imports it:
https://www.dropbox.com/scl/fi/nlb2ep5lar02mjphhl9x3/Utbetalning_JDeveloper.png?rlkey=6p8ok6nu9hvgamylv9binqvg5&dl=0

As you notice, JDeveloper translate the name prefixes into a full chain of associations, which is what I desire.

5
One feature I envy fellow developers, who use the Eclipse IDE, is the ability to save all changed tabs with one click. In Sparx you may do this by right-clicking arbitrary diagram tab and select Save all from the context menu, but there is no key combination readily available.

There is a feature in Sparx however, which lets you set up a key combination to represent a menu selection. For the case above you would do like this:
  • Select the menu option Start-> Appearance-> Preferences-> Toolbars. Sparx opens the dialogue window Customize.
  • Click the tab Keyboard and Sparx will display a form.
  • Set the Category drop-down menu to Window.
  • The list Commands will display all commands available within that category.
  • In that list, select the option Save All Modified.
  • The field Current Keys displays the shortcut keys currently bound to that command, if any.
  • Put the cursor in the field Press New Shortcut Key and press the combination of keys you want to use.
  • Press the button Assign to make it stick and then close the dialogue.

6
General Board / Re: Is there a way to refine model watches?
« on: November 28, 2024, 11:12:54 pm »
You can set up custom searches to show you pretty much anything.
You can also create a ModelView chart, based on a query.

A number of my colleagues aren't that tech savvy and find the query builder incomprehensible. Thanks for suggesting ModelView. I will have a look into it.

7
General Board / Re: Is there a way to refine model watches?
« on: November 28, 2024, 11:01:10 pm »
It feels like this is one of those "marketing features".

I agree. But if you decide to develop one of those nice-to-have features in your backlog, you should decide to do it well. Particularly since this is the only neat way that Sparx let you keep track of changes others have made.

Mikael

8
General Board / Re: Visualization of imported XSDSchema
« on: November 27, 2024, 08:45:45 pm »
  • One of the main elements has a property, which is a list.
  • The list is optional. But if present, it has to contain 1 to 25 items.
  • The items must be of a certain type.
  • That type is actually a complex type, consisting of two other types of elements.

  • JDeveloper presents this as a continuous chain or branch of items.
  • Sparx presents the main object separately (but in the same diagram) from the list item. And the last complex type is separately presented as a group of three elements.

PS It would have been wonderful to be able to present the pictures, but the Attachment option seems to be turned off.

9
General Board / Is there a way to refine model watches?
« on: November 27, 2024, 08:22:20 pm »
Sparx let you set up Model Watches (https://sparxsystems.com/enterprise_architect_user_guide/16.1/project_build___deploy/model_watches.html) to keep track of the kind of changes you're interested in. It may be Recently changed diagrams, Recently changed elements, etc.

The categories are rather crude. As a requirements engineer, for example, you may be less interested in changes made to data models than in use cases, but this seems to be as good as it gets. I've not been able to find a way to limit the query to kinds of elements.

A more cumbersome limitation is that there seems to be no way to limit the scope to a certain package or part of the model. Has anyone found solutions to this?

10
General Board / Visualization of imported XSDSchema
« on: November 26, 2024, 09:30:30 pm »
I've imported an XML schema (an XSD) to Sparx EA, in order to visualize the data model. The import went fine but I'm puzzled about why Sparx splits the resulting model into fragments.
When I use the IDE Oracle JDeveloper for the same purpose, it produces a coherent model. Is there some setting I'm missing?

11
PCS General Board / Notified when a diagram changes?
« on: September 27, 2024, 12:45:04 am »
In Jira and Confluence it's possible to subscribe to changes and get notified whenever a ticket or page is updated. Is it possible to accomplish something similar in ProCloud and make the server notify the subscribers when a diagram or element changes?

Mikael

12
PCS General Board / Re: Possible to limit scope of model search?
« on: September 27, 2024, 12:41:28 am »
Thanks to both of you, Geert and BobM, but I'll start by trying out Bob's solution, for it's simplicity.

Mikael

13
PCS General Board / Re: Documentation of ProCloud's data model?
« on: September 26, 2024, 09:52:18 pm »
Thanks, Geert. And if I rediscover the documentation URL I'll post it here.

Mikael

14
PCS General Board / Possible to limit scope of model search?
« on: September 26, 2024, 09:29:25 pm »
The Find dialogue lets you limit a search to the selected package and it's content. Apart from that, Sparx EA always search the entire model.

Is it in some way possible to configure what counts as "the entire model"? In our case the model resides in four root packages. Alongside them there is one package for archived/defunct elements and one for personal sandboxes. We want the last two to be excluded from the model search.

15
PCS General Board / Re: WebEA does not update diagrams
« on: September 05, 2024, 08:49:11 pm »
First you need to check that EAWorker is working correctly. Enable EAWorker with log level 'SYSTEM' (or higher). If it works, a line like the following will be added to the log file.
2024-09-05 17:14:34 [SYSTEM]:  CDiagramImageAndMapHelper updating images for 1 diagram(s)
If this fails, you may be able to find the reason in the log file why the EAWoker is not working. If there is no log file under Pro Cloud Server\Service\Worker\Logs, you need to set it up correctly.

Splendid Takeshi. Thanks for the instructions. I will forward them to the system administrator.

Mikael

Pages: [1] 2 3 4