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 - OpenIT Solutions

Pages: 1 ... 27 28 [29] 30 31
No. The html for the image is generated automatically by sparx and there is no associated template. Shame as i'd like to add a tooltip with the notes for when you hover over...perhaps a feature request...

Thanks, i suspected as much.

@Sparx - a bit poor that you can retreive a collection via the query, but then can't delete elements in the collection !!??? At the very least you should update your documentation to highlight this ommision. Again it a bit poor that i can invoke the method but the only error message is an "internal application exception". Whilst i'm complaining :-) you might also want to make the doc wording for Delete and DeleteAt consistent. Its not currently. Delete implies the arg is an ID DeleteAt an index. Are they not both an index ?




I've got a Collection of Elements by running the repository.GetElementsByQuery. This works fine i have a collection with the element i want in it.

I then try to invoke Collection.Delete or DeleteAt - both give me an "internal application exception". So how do i delete an Element ?

Does delete not work against a collection retreived via a query ?

Any ideas ? Is there a common/known reasons for this error when deleting ?

Appreciate any help,



Got it, thanks.


Is there a way via the automation interface to Add Related Elements to a diagram ? I'd then want to apply a Layout, again is there method to apply a layout ?




Really hoped this had been finally solved. I'm using 9.31 and i'm facing the age old problem of a repeating header on a table that i don't want. Followed all the normal guidelines by can't seem to solve...see segment of template below...i'm guessing it may have something to do with the fact that i'm only including the connector target element in the table ???

connector >
target >
element >
....the table...2 by 2 with header row (set to header)
< element
< connector

? Any ideas - known bug (still?)



No. Been discussed before, feature request raised etc....ties in with this recent post Issue is that sparx creates the #IMAGE# block of your html internally, ie you can't use a template to inject tooltips etc into the html associated with the #IMAGE# (essentially the graphic with html map/area associated with it)...

Thanks both for your responses. Ill check out the query approach...


Has anyone else noticed a marked performance difference using the Java API's Collection.GetByName as opposed to Iterating through the Collection. I want to do the latter as i want to compare Alias not Name fields. However the interator approach appears to run an order of magnitude slower (5 mins to update 2000 elements usign GetByName - over an hour using an iterator).

Any advice appreciated....



Automation Interface, Add-Ins and Tools / Re: Model Profile View
« on: February 07, 2013, 04:44:00 am »

You need to look at Model Documents. You can create a Model Document to output to html. A model document can use a "Model Search" (again check out the help) to pull back specific packages to be included in your html. As Geert suggests you may want to add a tagged value to the document, which can then be queried in your model search - you may find that simply setting the package status and querying this will help.



I beleive this is a known bug ? I've hit it before, not sure if its been fixed in latest release or the beta.



I'm in the process of doing this; i think the trick is to co-locate the optimizer on or close to (same sub-net) the server running SQL Server. If you have network performance issues the optimizer should then help.

I suspect it want be quite as simple as indicated. I'm guessing you have a BPMN diagram and that you have either added embeded Requirements to each Activity (using the Rules->Requirements sheet in the Activity property sheet) or formed a relationship (should be a Realisation) between your Activities and a Requirement object.

If the first is the case you will need to add the

Package -> Element -> Requirement

the second, add

Package -> Element -> External Requirement

to your template.

Sorry meant "one template for..." in previous post...

Pages: 1 ... 27 28 [29] 30 31