Hi,
i've made a RTF Report which uses RTF Template Fragment based on Custom Script.
During generation that template fragment is used hundreds time (once for each element) and sometimes custom script throws Error (in System Output is just "Error:" text, witout any explanation). It occured that Error is thrown before any code from Custom Query tab is executed (i've checked that very carefully), so there is no chance to try-catch it.
Is there a chance to fix it or avoid it?
You can check that using sample EAExample repository. Create two templates:
test1package >
element >
{Template - test2}
child elements >
< child elements
< element
child packages >
< child packages
< package
test2 - template fragment
custom >
{DateGen} : {Author} : {EA_REPOS}
< custom
with custom script: DocProperties
and code:
MyRtfData(#OBJECTID#);then execute report generation using template
test1 on package
UML Modeling. It should throw some errors. If not - try to execute again

Oh! Important thing - i'm using version 10.0.1006