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

Pages: 1 ... 4 5 [6] 7 8 ... 34
76
Uml Process / Re: CSV export with notes
« on: September 12, 2016, 09:56:38 am »
Not sure if it will address your problem but there is an Office MDG you could try the export facility to excel in that. You can down load a trial version to see if works for you.

77
General Board / Re: DDL change scripts
« on: September 08, 2016, 07:42:26 pm »
The Database Builder does support synchronizing the DBMS structure with change scripts. I suggest you have a look at the example in the whitepaper and webinar covering the Database Builder:
http://community.sparxsystems.com/white-papers/933-introduction-to-the-database-builder
http://www.sparxsystems.com/resources/webinar/database-engineering/database-builder-intro/database-engineering-in-enterprise-architect.html
Thanks for bringing that to our attention. Didn't know it existed.

78
Uml Process / Re: Specification Manager
« on: September 07, 2016, 07:52:19 am »
Quote
If you are using EA version 13, then tagged values can be added as follows:
Ahh V13 we are all waiting for it with its new UI and features but its taking a bit of time to get out of beta aye?

79
FYI - %APPDATA% is in a hidden folder so to see it you need to tick the "hidden items" in Windows file explorer and that is why you had trouble locating it.

80
General Board / Re: DDL change scripts
« on: September 07, 2016, 07:31:41 am »
As mentioned Sparx only generates DDL for the whole database not changes. However what you could do is use that to create a new database then use one of many tools out there to compare the two databases and create change scripts to apply to the first database.

I know other tools like Sparx provide that capability so you might like to put a feature request in to Sparx Systems and if your lucky they might implement it some time in the future. Doesn't help you immediately I know but would help others in the future.   

81
General Board / Re: Link element to continue on another diagram
« on: September 07, 2016, 07:22:38 am »
Here is a thought and common pattern used for managing large amounts of classes. You group them into domains, subject areas or what ever you want to call them.
If you put each diagram in a package with the elements for that domain. You can create a parent package that allows you to drill down to the domains by putting all the packages (domains) on to the parent package.
In each domain diagram you can add hyperlinks to the other diagrams so you can navigate between them. The hyperlink can be created by dragging the target diagram in the browser on to the diagram canvas or via the toolbox in  the common partition and navigating to the diagram.

So the pattern is something like  this
Parent Package
   Parent Diagram with domain packages to drill down
   Domain Xpackage
      Domain X Diagram
      Class A
      Class B
      etc
   Domain Y package
     Domain Y Diagram
     Class C
     Class D
     etc

In your diagram of Domain X it shows relationships to other domain classes which you can distinguish via some means like colour or using a boundary.
    Class A -> Class B -> Class C [Next to Class C you put a hyper link to Domain Y Diagram showing the other relationships to Class C]


82
General Board / Re: Visualizing element complexity
« on: September 07, 2016, 07:04:03 am »
Or the easy way is just add a diagram legend and use auto legend to set up a colour for each value of complexity value.
See the V12.1 user guide for example using priority [just change that to complexity]
http://www.sparxsystems.com/enterprise_architect_user_guide/12.1/building_models/diagram_legends.html

The dialog box is showing here describing all the settings
http://www.sparxsystems.com/enterprise_architect_user_guide/12.1/building_models/add_a_legend.html

Couldn't be easier  ;)

83
General Board / Re: Sparx Cloud - User Access
« on: September 07, 2016, 06:52:58 am »
So you want single sign on with multiple organisations? Here is a thought but untested. As each organisation will have its own active directory and user base you'll find it difficult however not impossible. You should look into setting up federated Active Directory in Azure and pushing the user credentials up into Azure AD from each organisation. You should then set up the Sparx EA Cloud service and database to use the Azure AD. This way  you might  have a chance of succeeding with single sign on by using a single AD source.
There will probably be some challenges as each organisation will have its AD user base set up with different groups and processes and policies so managing these across different enterprises could be the biggest challenge.

Good luck and do let us know if you were successful.

84
Uml Process / Re: Specification Manager
« on: September 04, 2016, 06:44:16 am »
Quote
Next question can you save the specification manager view as a diagram?
No but check out the following
a) model views in the dashboard diagram although the items in the list will be read only.
b) view all items on diagram and view diagram as list - no tag values though.

85
General Board / Re: Round trip XSD. Updating Previous Import
« on: August 31, 2016, 11:03:59 am »
Oops didn't read that post too carefully did I? XSD vs XMI duh!

Thinking about that further I guess with the XSD not having Sparx EA GUIDs in it you could only match the elements by name. If the names change then it makes it rather difficult.  You need a way of matching up elements to merge the updates into the existing model.
If the names didn't change you could match the names and use some sql using a left or right outer join to merge the two sets of data after you imported them. using eap file you could use MS Access to write the SQL to merge.

Other than that don't have a lot of ideas without further info.



86
General Board / Re: Round trip XSD. Updating Previous Import
« on: August 31, 2016, 07:22:51 am »
There is a Strip GUIDs tick box on the Import XSD dialog. Make sure that is not ticked then when you import it will replace rather then add duplicates.

87
EAP file is just an MS Access data base so yes it is possible to open it with MS Access and run reports or queries.
In case you don't have MS Access you could also open with Libre Office too.Not sure why upgrading Sparx EA V9 isn't an option its inexpensive to do so. You could spend a lot of time and effort that translates into money so have a careful think about not upgrading. Sparx may have fixed those bugs you mentioned for a start. Personally I'd upgrade as V9 is pretty old now but you probably have your reasons.

There is a caveat with MS Access the original eap file uses Access 97 so later versions have to convert to Jet 4.0 to create queries. You can upgrade using Jet 4.0 option in the options dialog of Sparx EA and doing project transfer to the jet 4.0 eap. You have down load from Sparx Site the base for Jet 4.0 and replace the EA_Base.eap file in program files. Instructions can be found on sparx systems website.




88
General Board / Re: New stereotype creation
« on: August 25, 2016, 08:52:43 am »
In my EA MDG I extended only the archimate 2 element without the need for the base uml meta class and it worked fine. i.e. no need to extend class too. If you think about it the Archimate 2 element is already extending the uml meta class so you may end up with some side effects by extending the meta class twice.

Tags on diagram -  Well the archimate 2 shapescript doesn't seem to support that so you have a couple of options.
a) connect a note and connect the note to the element using linked note element feature (left click on connector to get context menu) and select tags
b) create and _image attribute and write the shapescript to do that all that. Use Geert's shape script code to extract the shapescript to start you off rather than starting from scratch.

BTW; I've got an EA MDG model that extends Archimate 2 which is used to create a custom EA MDG based on ArchiMate and I share it with folk I know across NZ govt under a creative commons ShareAlike licence https://creativecommons.org/licenses/by-sa/4.0/ Free of charge. I can remove the NZ Govt specific stuff and share it if anyone is interested.

Similarly I have a Enterprise Integration Patterns MDG I could share too based on Gregor Hohpe's book http://www.enterpriseintegrationpatterns.com/.
 
The question is where is the best place to share them? Any suggestions?

89
I've created child diagrams for elements using API in javascript so I think rather than hack the database using the API from C# would be safer.
That being said you should use the method AddNew("Diagram Name","Diagram Type") from the diagrams collection of the element.
See this link for more detail
http://sparxsystems.com/enterprise_architect_user_guide/13.0/automation/collection.html

An example in javascript
Code: [Select]
...
var theElement as EA.Element;
var motivationDiagram as EA.Diagram;
...
motivationDiagram = theElement.Diagrams.AddNew( theElement.Name + " Motivation", "Motivation Diagram" );
motivationDiagram.Notes = "The diagram above shows the motivation for the workpackage " + theElement.Name;
motivationDiagram.Update();
...

Note the diagram type "Motivation Diagram" is from my custom EA MDG incase you were wondering.
Hope that helps
 :)

90
General Board / Re: New stereotype creation
« on: August 23, 2016, 08:00:49 pm »
Over the years I've extended archimate MDG to add attributes and I manage to get it to work by not having the _image in the SBNetwork stereotype so the parent shapescript is invoked. Note that you must have the ArchiMate V2.0 MDG enabled otherwise it won't work and you end up with the base UML shape.
Alternatively you can re-write the archimate shapescript and put it in the _image attribute of SBNetwork. Geert Bellekens even provides a script to extra shape scripts from MDG's so you could you that from his open source shapescript library
http://community.sparxsystems.com/news/978-presenting-the-new-open-source-enterprise-architect-shapescript-library

Pages: 1 ... 4 5 [6] 7 8 ... 34