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

Pages: [1] 2 3 ... 5
1
In the features window I am successfully using Ctrl+Up or Ctrl+Down to order the attributes.  However, if a assign a custom stereotype (Business Identifier) to an attribute, (although the features window allows me to set the attribute to the top position) the diagram always displays the stereotyped attribute at the bottom of all the other attributes.

How can I force the diagram to display the stereotyped (Business Identifier) attribute at the top of all the other attributes?

How can I force the diagram to display attributes in the same order that they are displayed in the features window?

 

2
Uml Process / Re: Sparx Toolbox Tooltips
« on: September 18, 2020, 09:07:53 pm »
Hi Geert,

Not sure what you mean by "ends up in the "initial value" field of an attribute."

If I close the Toolbox Profile and use the Profile Helper in the Profile that contains the relevant stereotype, then I have 3 places to go:
General
Tagged Values
Shape Script

Where can I find the appropriate attribute and fill in the "initial value" field?

 

3
Uml Process / Sparx Toolbox Tooltips
« on: September 18, 2020, 08:03:10 pm »
I have created an MDG Technology containing Stereotypes, Diagram Types and Toolboxes. 

In a Toolbox Profile, I have extended the ToolboxItemImage Metaclass as described at the following link
https://sparxsystems.com/enterprise_architect_user_guide/14.0/modeling_tools/icons_for_toolbox_items.html

Using the ToolboxItemImage Metaclass in a Toolbox Profile I have successfully defined a custom bitmap icon for each tool in a Toolbox Profile.
If I save this Toolbox Profile and build an MDG Technology, the custom bitmap icons are successfully displayed in the Toolbox.

This process involves creating a new Stereotype element for each Toolbox item in the Toolbox profile. Each of these Stereotype elements has an Extension connector pointing to the ToolboxItemImage Metaclass as illustrated at the above link.

If I select context menu item 'Edit with Profile Helper' (from the new Stereotype element), this displays a dialogue 'Add Toolbox Page' which offers a 'Tool Tip:' field. If I type a tooltip into the Tooltip field, then the Extension connector gets removed by Sparx and the Toolbox Profile fails to implement the custom bitmap icon.

How can I enter a tooltip for each toolbox item?

4
Automation Interface, Add-Ins and Tools / Protecting Sparx Jscript code
« on: September 03, 2020, 10:07:17 pm »
Using the Sparx Security Model, I can prevent other users from editing Sparx script code.  If a user is not permitted to edit scripts, then (within the Scripting window) the 'Edit' option is greyed out in the Script context menu. 

If a user is permitted to run scripts but not edit scripts, then the 'Edit' option is greyed out but the 'Debug' option is not greyed out. By selecting 'Debug', the code is displayed. The user cannot edit the code but they can copy and paste the code.

How can I disable the 'Debug Script' option whilst enabling the 'Run Script' option?

5
In Sparx we use UML Class notation to build Logical Data Models to form the basis of a Physical Data Model. We use the Relationship connector to show cardinality.  How can we use Sparx UML Class notation to (1) identify Foreign Key Constraints (2) indicate that 2 combined attributes form the Combined Primary Key ?

6
Hi Geert, 

I have no problem creating my own stereotype and attributes/tags. How will Sparx users access and browse this kind of catalogue?  Is there a Sparx tool that would enable Sparx users to access this information in a tabular format?


7
Thank you Geert Bellekens. Your solution works perfectly.

8
I have been asked to import a large spread-sheet of ISO standards into our Sparx repository so that Sparx users can access the following information:
Link, Standards Bodies, Standard number, Part Number, Year, Amendment, Edition, Technical Committee, Theme, Sub Theme.
The link is to ISE standard details in iso.org. Each link is to a downloadable PDF.

I have built numerous scripts that import spread-sheets into Sparx, then create packages, elements and diagrams. For this exercise, I am not sure what target to populate.
The glossary table has too few fields. I am considering the appropriate target object type and stereotype for this import e.g. Artifact/Document

Here is my question.  What object type and stereotype would best cater for Sparx users accessing and browsing this kind of catalogue?

9
I have a class element with stereotype "Logical Data Entity". From the context menu of this element (displayed in a diagram) I choose 'Features and Properties' > 'Attributes'. Then I can add attributes to the Logical Data Entity but they are always listed in alphabetical order.  I want the ID to be the first attribute displayed, but I seem unable to force any ordering of attributes. How can I change the ordering of attributes displayed in my diagram?

10
Thank you querty, Uffe and Sunshine. Your solution works well.

11
Thank you querty and Geert. Your solution woks well.

12
I have 2 MDG Technologies "Data Architecture" and "Defra Data Architecture MVP".  Both MDGs contain a stereotype "Conceptual Data Entity" that are different from each other.
I have an element with FQStereotype "Data Architecture::Conceptual Data Entity" because it was created from a stereotype "Conceptual Data Entity" defined in a MDG Technology "Data Architecture"
StereotypeEx does not differentiate "Conceptual Data Entity" ("Data Architecture") from "Conceptual Data Entity" ("Defra Data Architecture MVP").
I want to change the stereotype of this element so that it has the stereotype "Conceptual Data Entity" defined in MDG Technology "Defra Data Architecture MVP".
The following Jscript code tries to change the FQStereotype to "Defra Data Architecture MVP::Conceptual Data Entity"
currentElement.FQStereotype = "Defra Data Architecture MVP::Conceptual Data Entity";
EA responds with "Unable to write read-only property"
How can I change the stereotype of the same element so that it has the stereotype "Conceptual Data Entity" defined in MDG Technology "Defra Data Architecture MVP"?

13
I have 2 MDG Technologies "Data Architecture" and "Defra Data Architecture MVP".  Both MDGs contain a stereotye "Conceptual Data Entity" that are different from each other.


I have an element with FQStereotype "Data Architecture::Conceptual Data Entity" because it was created from a stereotype "Conceptual Data Entity" defined in a MDG Technology "Data Architecture"

StereotypeEx does not differentiate "Conceptual Data Entity" ("Data Architecture") from "Conceptual Data Entity" ("Defra Data Architecture MVP").


I want to change the stereotype of this element so that it has the stereotype "Conceptual Data Entity" defined in MDG Technology "Defra Data Architecture MVP".


The following code tries to change the FQStereotype to "Defra Data Architecture MVP::Conceptual Data Entity"


currentElement.FQStereotype = "Defra Data Architecture MVP::Conceptual Data Entity";


EA responds with "Unable to write read-only property"


How can I change the stereotype of the same element so that it has the stereotype "Conceptual Data Entity" defined in MDG Technology "Defra Data Architecture MVP"?

14
General Board / Import XPS or Visio into Sparx
« on: July 31, 2020, 01:53:26 am »
I have been given some BPMN diagrams in XPS format.  These were exported from Visio. I have rebuilt some of these diagrams using MDG Technology BPMN 2.0.  I am proposing that we import all their legacy VISIO diagrams via XPS files into Sparx to take advantage of Sparx drill-down framework and to take advantage of WebEA. I have used XPS Viewer + Screenshot + MS Paint + Sparx to copy and paste one of the those diagrams into a Sparx diagram. Is there a more efficient way to import many XPS or Visio files into Sparx?

15
General Board / Re: Running Sparx on Windows 10 multi session
« on: June 16, 2020, 06:50:54 pm »
Hi Geert,

My client is moving from PostgreSQL in AWS to MS-SQL Server in Azure. I am considering the various architecture options.

There seems to be little benefit in the traditional archiecture of Sparx EA client and ODBC installed on each user's workstation.

The Sparx EA client installed once only in the Azure VM sounds like the ideal environment especially if this integrates well with the Floating License Server and Windows Active Directory. 
Does the Azure VM have to be a very high specification (memory and CPU) to enable 50 users to simultaneously run a Sparx session in the Azure VM?
Would this architecture support Sparx Pro Cloud Server?

In my last contract I created new Sparx users by importing users from Windows Active Directory.  Does this Azure VM environment complicate this import process?

Pages: [1] 2 3 ... 5