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

Pages: [1]
General Board / haunted by old MDG menus
« on: September 22, 2016, 09:15:50 am »
I wanted to see if it was anything obvious I was doing before I report it as a bug.

I am using MDG technology of my own making. In it I used to have a toolbar with some elements within it. However I have deleted the toolbox from the toolbar profiles, re-generated the MDG and XML profile files, but it still pops up in the Target Sparx Menus (and it is assigned to them all within my MDG which is odd).

I have checked in the MDG produced XML that I load and the menu name is not in there, so it must somehow be the residual effects of the target Sparx system.

There is only one MDG available on the extensions  menu, so there is no duplication problems etc.

Does anyone have any idea what the issue is or more importantly how to delete it?


General Board / Writing Reports with Tables
« on: September 12, 2016, 03:18:28 pm »
Sorry Everyone,
I see be asking questions on every step of my journey. Firstly does anyone know if there is a user guide on writing reports in Sparx?
i have searched around and cannot find anything.

The problem I am about to describe has been suggested "you can do it" in the Web site, but doesn't give any examples how to do it.

I have a very simple request.

I have created a custom SQL query that returns 3 columns in the following foramat :

Diagram name         Element name   Dependancy Name

Diagram 1                   Element 1             Depend1
Diagram 1                   Element 1             Depend 2
Diagram 1                   Element 1             Depend 3
Diagram 2                   Element 2             Depend 5

and so on.

All I want to do is turn the above into

Diagram 1                   Element 1             Depend1
                                                                Depend 2
                                                                Depend 3
Diagram 2                   Element 2             Depend 5

With some form of alternative colour for rows for each new diagram name change, and a Header.

I thought the merge row might do this, but unclear how it works.
I have 1 row set up for the table with these fields. I have tried "merge row for the first and second" but nothing happended.
I tried creating another row and merge the two, but that just duplicated.

I am totally unclear as tow how this is supposed to work.
Also how do I get alternative colours rows?

General Board / Updating element Tags
« on: September 11, 2016, 01:03:39 pm »
An interesting problem I am faced with.

I have a well used model in place with a set of elements, all created by an MDG profile.
I have recently added some new tags to one of the element, within the MDG profile.

Obviously they only appear in new elements, not in existing. I was going to write to SQL to update all of the tags (just absolute values but it determines a shape).

I just thought I'd check though to see if there is easy way of doing this?
Assigning a new tag to an existing element retrospectively?


General Board / Two MDG technologie in MDG Technologies window for same MDG
« on: September 06, 2016, 08:53:05 am »
Hi Everyone,
I have a strange problem. I have two MDG technologies for a custom made MDG that I have made in my Technology list under MDG technologies.

I have read through the notes already made in other various posts, looking under APPATA and in settings but I cannot find it.

It is proving to be a real pain as we did an emergency change in our MDG, and it is not being activated, it is always the old one that it goes to.

I have 12.1. My two MDG versions - the older version says " Location xyz.xml(in APPDATA), and is the one permanently active.

The new one is not activated and will not stay activated and the location just says "Model".
I would dearly love to delete the first one but cannot find it.

Any suggestions?

Bugs and Issues / Mouse Icon keep getting stuck
« on: August 29, 2016, 09:15:40 am »
In 12.1 when I drag and drop an icon from the toolbox (Custom icons - not sure if that is a reason), the mouse seems to stay in drag and drop mode and often I am unable to drop the component or do anything else in SPARX.

I have to keep clicking outside of sparx and returning to the application to resume.
Sparx 12.1

Bugs and Issues / Link this note to an element feature not rendering
« on: August 29, 2016, 09:13:15 am »
When you create a linked note to a child compartment for embedded components, and there are a several  sub components (using UML components embedded with more UML components in 12.1), the normal screen overwrites the writing of title of the container over content of notes.

It's not until one zooms way out that the writing becomes rendered properly that you can read it.

Bugs and Issues / Zoom weird n 12.1
« on: August 29, 2016, 09:09:54 am »
On more than 1 occasion in 12.1 I have used the zoom (cntrl-shift-n) to zoom out, and the application seems to go into an infinite loop and stretches the notes elements, on and on. I have to kill sparx to get out of it, as it keeps growing and growing.

I might have inadvertently had a note element selected, but still is an issue.

Bugs and Issues / Dependency and Custom compartments not working
« on: August 29, 2016, 09:07:56 am »
When you create Custom compartments, they don't work from the perspective of showing in the element, or from a linked note.
Though the linked note does show sometimes, but disappears.

I was using 12.1, using a UML native component element, with realized and dependent connectors, with features realized and dependency enable for the elements, and connected elements.

I also saved and re-loaded diagram. 

If there is an initiative to fix this, can you give an ETA please as we have a large programme of work coming up, and we are going to have to embed lots of elements, rather than connected to them, if these are not available  soon.

General Board / Dependency and Custom departments not working
« on: August 28, 2016, 12:54:56 pm »
I think Sparx EA is an incredibly good tool, and I recommend it to all my clients, but this is an example of how incredibly frustrating it is to get value out of the documentation, and I also notice other commentaries on this.

I am trying to shapescript a UML component in 12.1, to give me a list of dependencies as a separate compartment as per the example on this link.

I have tried and tried and tried and cannot get this to work.

I have cut and pasted the code and pasted it into the target shape script, and still no response. I've refreshed the screen etc. after I loaded and no change whatsoever.

Does this work or not? if it works WHAT ADDITIONAL THINGS DO WE NEED TO DO MR SPARX?
shape RelatedElement


     //Check if the current connector we are processing has a

     //dependency type.

     if(HasProperty("Connector.Type", "Dependency"))


          //Check if the element we are currently checking is

          //the target of the current connector.



               //Set the compartment Name


               if(HasProperty("Element.Stereotype", ""))











General Board / Report generator - using external elements
« on: August 26, 2016, 08:12:31 am »
I have generated a report template for a particular project that I aim to use as a template for generating an outline of Solutions Architecture for input to projects.

I would also like to include in that project a reminder of the architecture principles that are in a totally different package at a different level.

I know you can include these as a diagram within the package in question, as external elements, but I would only like to report on the principles (Notes) only , and not rely on solutions architects to take a copy of the diagram in their project.

Does anyone know if there is a way to do this in Sparx?
In other words. specifically  reference a specific package within a template at the beginning, and then go on to business as usual for generating.

Hi - I created some custom MDG profiles a few months ago, that are currently being used by our Business Architect people, but they have suddenly started switching between the Native element images, and the shape script ones in a rather random fashion.

Sometimes I can go to the package and they are properly shape shifted, other times, they go back to UML components. These are elements on diagrams as well as the ICONs in the toolbox.

Has this happened to anyone else?

Sparx 12.1 is the tool I am using.

Bugs and Issues / self-message MDG
« on: August 17, 2016, 05:54:10 pm »
Hi I suspect this is a bug as I have tried for a while and cannot get it to work.

I have created lots of custom built elements, by sequence diagram works, my messages work, but my self-message does not seem to want to stereo type.

All I get on the toolbar is the default <<>> symbol.

Is this a bug?

General Board / Sequence diagrams with Shape scripts
« on: August 14, 2016, 02:10:16 pm »
Apologies in advance I have 4 questions :

Question 1
Can we have an image upload facility on this forum please? I know it is not a support forum, but there are a lot of very experienced subject matter experts that contribute  and provide a lot of help to the community. It would be great to help demonstrate and communicate with screen shots etc.

Question 2

I have created a series of shape script elements, based on UML components, with the purpose of being able to use them in sequence diagrams.

However, when I come to use them, they are re-sized the wrong shape, and all writing etc. disappears off the screen between compartments.

Is there anyway I can
a) Check the diagram type and re-shape back to original for sequence diagrams
b) Make the element self size correctly, overwriting the Sequence defaults
c) (I think i came across this somewhere), create a default sequence diagram with native shapes set by default
d) Set an alternative image to be used (do we have an image of native components?) or script when added onto a sequence diagram?

Question 3

Is it possible to remove all the excess attributes from an element such as component? e.g. Constraints, requirements, alias, priority etc? I'm trying to make this user friendly as possible for Business Architects.

Question 4
Are there any methods to remove the original Icons from Shape scripted elements from the traceability menu, and the package element when on a diagram?

Sorry for being so greedy.

General Board / SPARX on different channels
« on: August 13, 2016, 05:50:43 pm »
Does anyone know if there are any alternatives to publishing SPARX repositories other than the HTML reporting?

This is very temperamental for us (Java script enablement limitations etc. etc) and is flooded with technical distractions in the default, not the kind of information we would want to expose business stakeholders too, which after all is the point of Enterprise Architecture.

I'm not sure it Sparx has got to that level yet of customizing the published output of if it can work with Mobile devices etc?

Anyone know?


Apologies if this is discussed somewhere already, I have had a search through and can't find anything.

I have created my own custom MDG based upon UML for non technical users. I cannot change the Icons in the traceability screen however, or when you drag a package containing custom shape scripts and icons on to a diagram, they refer back to their old component icons.

This defeats the object for me a little, as all the custom shapescripts are of component metatypes, so they all have the same icon, and mit makes it very difficult to separate in this menu.

Does anyone know how this is done please?

Pages: [1]