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

Pages: [1]
Suggestions and Requests / Web interface into repository
« on: October 05, 2011, 11:27:23 am »
It would be great if there was a standard web interface into an EA repository, so that diagrams can be viewed just within a web browser, and perhaps minor text changes made.
Ideally, each diagram should be able to be found with a unique URL.

General Board / Image libraries?
« on: September 13, 2012, 09:53:18 am »
Are there any other image libraries available for EA, or has anyone had any experience in loading other clip-art libraries into EA?


General Board / Find where images are used
« on: February 24, 2012, 10:34:42 am »
does anyone know of a way of finding where alternate images have been used?

I have a number that have been added to the image library, all named Image<somenumber> which I want to know where they are used so that I can either rename them or delete them.

Clicking the 'Delete' button in the Image Library tells me that the Image is used by 1 Element - but doesn't tell me which one or where it is.


General Board / Get value of inherited tag value in RTF
« on: March 04, 2009, 01:16:32 pm »
Hi all,
Can someone tell me how to get the value of an inherited tag value into an RTF template?

EG. Create an object, add a tagged value.  Now instantiate that object onto a diagram in another package. Create an RTF template to render elements in that package, and try to get the value of the original tagged value.

The 'valueOf' function only appears to work for tagged values belonging to the instance - not those inherited from the original object.


Bugs and Issues / Javascript error in Generated HTML report
« on: November 14, 2012, 06:58:10 am »
Generating an html report seems to work ok, using default settings.
However when I click the 'View' button, the page does not load. The error is:
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2; .NET4.0C; .NET4.0E)
Timestamp: Tue, 13 Nov 2012 19:46:59 UTC

Message: 'undefined' is null or not an object

Line: 366
Char: 2
Code: 0
URI: file://<path to output dir>/js/displayToc.js

Using IE8 dev tools, this is what I see (lines 365 - 366)
function initPreLoad(content)
      var preload = document.getElementById('IndexHeader').parentNode.insertBefore(document.createElement('div'),
[highlight] = "Preload";[/highlight]
The highlighted line is line 366.

This happens regardless of which package I select to generate from.

EA 9.3 Corp Ed, MS SQL Server repository.

Any ideas on how I get the HTML generation to work again?

edited to show contents of line 366 of displayToc.js as per error message

Automation Interface, Add-Ins and Tools / RTF report  template headers
« on: October 14, 2011, 01:29:49 pm »
anyone know how to edit an existing header in an RTF template, when there is both a first page header, and a standard header?

The only one which displays is the first page header - which is not the one I want to edit. It seems the only way to "edit" it is to delete it and create it again - is there another way?

Automation Interface, Add-Ins and Tools / shape script and bounding box
« on: October 05, 2011, 11:33:52 am »
I have some elements with shape scripts, and their bounding boxes (series of little black boxes around the element when selected) is far larger than the shape.
This means that connectors/association lines don't join the shape - there's a big gap around it.
I have tried setting a defSize(x, y) but this has not made any difference. There doesn't seem to be any way of changing this box via a shape script - or is there?

Automation Interface, Add-Ins and Tools / MDG Tech & Toolbox profiles
« on: August 31, 2010, 11:55:26 am »
I'm using EA 8 (build 862) Corporate Edition and trying (without much success) to get a toolbox distributed within an MDG Tech to work.

The MDG Tech is available (enabled). The toolbox is visible, associated to the correct (custom) diagram, and all the custom elements are on the toolbox. But, when I drag an element from the toolbox onto the diagram nothing happens. No element is added to the diagram or the project browser.

The way I set this up in the project browser is one package (stereotyped 'profile') with separate packages for the stereotypes (these packages are also stereotyped 'profile'), custom diagram and toolbox. I then save a profile from each diagram, and use the 'Generate MDG Tech file' file to link them all together.

The help file is quite ambiguous on this section  (Create Toolbox Profiles, Step 4, Note) states that to use an "attribute for an item from your own tech,  precede it with your profile name as the namespace".

I've tried using the profile name (from my stereotypes diagram) as it appears in the "Save UML Profile" dialog, the name of the diagram, the name of the enclosing package, and even the name of the XML file. But none of these have worked.

So can someone tell me exactly which "profile" is being referred to here?


I've just noticed that the help files say that when saving the diagrams as profiles, they must be saved as XMI UML(2.0). I've been saving them as EA UML (2.x). When saved as the former, they do not show up as profiles when using the 'Generate MDG Tech file' dialog box.

I want to deploy a Document artifact with my MDG.

The idea being that the end user drags the element from a custom toolbox onto their diagram, and can double-click it to open a linked document (generated from a template - ie not a blank doc) which they then  customise for their project.

While I have been able to create the toolbox, and include the template of the linked document in my MDG tech file, when the end user drags the element from the toolbox onto their diagram there is no linked document attached to it. They must create a linked document for the element (Ctrl-Alt-D) and select the correct template in the message box.

Is there a way to create a linked document automatically each time an element is created by dragging it onto the diagram?


Pages: [1]