Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: MoonRider on September 12, 2014, 12:49:41 am

Title: Program inside report templates
Post by: MoonRider on September 12, 2014, 12:49:41 am
Is there a way to kinda program inside report templates?
I ask because I want to add the included usecases to the report, but it only appear as connector.. I wish to make a separated table to this.. but I would need to test something like:

Code: [Select]
if ({Connector.Type}=='include'){ display: target>element> {Element.Name} <element<target}

for example.

Is there a way to do that?
Title: Re: Program inside report templates
Post by: robinch on September 12, 2014, 03:58:54 pm
You could use a template fragment with a custom script fragment.

I had problems in the past with custom script fragments due to a size limitation on the XML output from the script. IIRC, this limitation has been fixed in one of the 10xy builds.