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

Pages: 1 2 [3] 4
General Board / Displaying Embedded elements in a shape scripted element
« on: August 27, 2016, 04:31:02 pm »
I was just wondering if there was a way to implement Embedded elements via a shapescript?
I know there is a ChildElement functionality, but that seems to work only with a native element shape.

I have created a shape of business capabilities based on a UML component that have embedded within it, lower level capabilities (your typical Enterprise Architect (The role not the tool) scenario as you might say).

I want to be able to list them as a summary somehow at the higher levels.
Do you know if it can be done?


General Board / Re: Difference between DASHGAP and.....DASHGAP???
« on: August 27, 2016, 02:15:35 pm »
Sorry missed this - it appeared in the system output screen.
As I said though, it was more amusing than needed a fix, I changed it to solid and it seemed to work ok.


General Board / Difference between DASHGAP and.....DASHGAP???
« on: August 24, 2016, 04:19:49 pm »
Here's an interesting one...
including it for amusement not for feedback.

Error: Unknown line style DASHGAP.  Please use one of the following string values:

General Board / Printing connector names in Elements
« on: August 20, 2016, 05:00:41 pm »
Does anyone know where the descriptions are for these attributes please?

I am trying to see if you can print a connector name in an element via shape script.

Bugs and Issues / Re: HTML publishing - Error while Loading Data Files
« on: August 13, 2016, 06:42:49 pm »
Just to let you know I have had this annoying error for a number of months, just give up publishing in the end.
Tried different browsers, different machines, all to no remedy.

It happened in my last organization too.
When I export it gives me an exclamation mark but tells me it is worked successfully.

Very frustrating

General Board / Re: transfer project to DBMS
« on: August 11, 2016, 11:59:38 am »
Again thanks for the feedback...

I have the problem whether it is a brand new empty project, or a complete project I am transferring. But I did run an integrity check earlier and nothing came up, as did again just now still nothing.

I did uninstall the previous version (At least I believe I have, I am going to check on another desktop with a new install).

General Board / Re: transfer project to DBMS
« on: August 11, 2016, 06:41:35 am »
Hi - Have checked al lthe t_sec tables - all are empty.
I have also checked the database settings, and seem ok. I noticed in the documentation the only one they stipulate is correlation being Case insensitive, and it is.

Further interesting research.

I add a note to a diagram. I exit, I come back in, the note object is there, but the text is blank.
I look in the database and the note I entered is in the database (at least until I enter new text in Sparx  and that is replaced by the new text).

Is it at all possible - I had a trial period of Sparx on my desktop (12.1) and replaced it by a licenced copy (12.1), is there any way they could be corrupted because of that?

General Board / Re: transfer project to DBMS
« on: August 10, 2016, 04:44:31 pm »
Hi Geert,
I am in New Zealand so I am slightly ahead of them, I have been waiting since lunchtime (10.00 am Australian time) - not to worry.

I am using OLE DB. The default settings should be applied, I will check in the morning (18:43 here).
I ran a project integrity - everything came up fine, I ran a project comparison, and there were a couple of mismatches on objects (-4 or so), but constant re-runs didn't solve it.

It is an interesting point about the database settings.

General Board / Re: transfer project to DBMS
« on: August 10, 2016, 04:29:11 pm »
Hi Thanks for your quick responses.

To answer your questions.
Sparx version is 12.1.
It is using a SQL Server 2008 database instance, I have full access I created the schema using the same account as I am accessing via ODBC and Sparx.

EA security is turned off (at least it gives me the choice only to enable it, so I am assuming it is switched off).
I have tried with other projects, including empty ones, and it successfully deletes the existing data, and replaces the new ones, so I don't think permissions are the problem.

The same issue occurs on all transfers however. It is telling me the diagram is locked on every one I use, including transferred and new ones. Notes for some reason are stripped of text, and only the notes object remains, and I cannot update these in the DBMS version.

I checked in SQL and it is only be using the database, no other users (the DB was just created yesterday - I am the only user). I restarted my desktop as an option. No success.

The exact error is "Warning : Diagram has possibly been modified by another user.

Press OK to continue an overwrite the existing diagram, or cancel to reload the last version of the diagram".

And the other one about the locked element every time I try and update the notes.


General Board / Re: SHape script tag
« on: August 10, 2016, 03:24:52 pm »
That took some finding in the documentation!

General Board / transfer project to DBMS
« on: August 10, 2016, 03:23:31 pm »
I am not sure if this is a bug or not, I have contacted Sparx support and not received anything back and it's quite critical.

I have just persuaded my company to buy Sparx as an EA modeling tool having used it before.
i had to set it up however (first time!) on SQL Server.

When I transfer my project it seems to work.
When I come to use it however, it comes up with a problem "locked by another user", even though I am the only on that currently has access. This  happens every time I change an object.

On top of that notes I had embedded in diagrams have gone blank after the transfer, and I cannot re-set them as I get the error, but for those it won't save.

Is this a bug or am I doing something wrong?

I transferred the right project to the right destination, the objects are physically in the DBMS, but I get this annoying error all the time.
People are waiting to use it, Sparx is not getting back and it's very embarrassing

General Board / SHape script tag
« on: August 06, 2016, 10:53:57 am »
I am using Sparx 9.2.
Can anyone tell me if it is possible to print user defined tags from an element on a shape, from within that element's shape script?
I know you can test them, but have found no evidence you can print them.

I have a horrible, horrible,horrible, horrible, horrible feeling that you cannot.


General Board / Re: Sparx Toolbox Icon
« on: July 24, 2016, 05:30:07 am »
Hi Geert/Query
Just to let you know I tried the suggestions yesterday of putting the icon attribute in the original
Sterotype of the element and unbelievably - IT WORKED FIRST TIME.

When I think of the wasted days I spent trying to make it work as per the official Sparx instructions.

This is a lot leaner and cleaner and simpler.
Thank you all very much. True consultants!

Which begs the questions,why or why or why is Sparx documentation to such a poor standard?

If what they are suggesting doesn't work,or if there is something in addition that needs to be done, they need to fix it.

Thanks again

General Board / Re: Sparx Toolbox Icon
« on: July 17, 2016, 07:04:00 pm »
Yes I'm with you Geert.
I'll give it a try as soon as I get home.
Thanks for your patience.

General Board / Re: Sparx Toolbox Icon
« on: July 17, 2016, 01:02:54 pm »
Thanks Geert and Qwerty.
Qwerty what I can see of you books looks great. Having a set of use cases that walk you through are what is needed I think in my opinion.  I'd certainly be interested in buying one. I am away from home for 1 week so I will check out when I get back.

Geert from what I can recall my steps were as follows :
I created a metatype toolboxitemimage.

I created a stereotype with the exact name as the element I referenced in the toolbox attribute to belong to the menu. In this stereo type I created an icon attribute which had the physical file and pathname. This stereo type was extent to the  toolboxitrmicon.

All of this was done following the one page example on the sparx web


I will be interested however in comparing your scripts to mine on my return to identify the issues.

I do believe somehow the official documentation is flawed however and I only know what I read there.

Thanks everyone!

Pages: 1 2 [3] 4