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
421
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 ?

Regards,

Jon.

422
Hi,

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,

Regards,

Jon.

423
Got it, thanks.

424
Hi,

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 ?

Regards,

Jon.

425
Hi,

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
<target
< connector


? Any ideas - known bug (still?)

Regards,

Jon.

426
No. Been discussed before, feature request raised etc....ties in with this recent post http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1361326236. 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)...

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

428
Hi,

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

Regards,

Jon.

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

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.

Regards,

Jon.

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

Regards,

Jon.

432
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.

433
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.

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

435
It will be a case of all or nothing. You can use the document "Options" tab to exclude details for "All" elements except Class. Then add your Element -> Attribute section to your diagram. If however you want to include details of other element types in your diagram (not just classes) you will have to explore the help sections on Model Documents and create one table for classes and another (without attributes) for your other elements then combine them in a Model Document.

Regards,

Jon.

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