Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
Filter expression cannot reference to java script object "row.__num"
Migrateduser
Hi,
I am upgrading birt(both designer and runtime) in my application from version 2.1.1 to 3.7.2
In this process of upgradation, I found that some of my reports(.rptdesign) are not running properly.. So, I started upgrading them too and started resolving the exceptions(Column binding, javascript, jdbc exceptions etc.) one by one.
Some of my report designs contain filter created on table:
<list-property name="filter">
<structure>
<property name="operator">lt</property>
<expression name="expr">row.__rownum</expression>
<simple-property-list name="value1">
<value>10</value>
</simple-property-list>
</structure>
</list-property>
When previewing these designs in birt viewer 3.7.2, I am getting following exception message:
Filter expression cannot reference to java script object "row.__num"
These report designs ran fine when run against birt runtime 2.1.1
Do I need to change
<expression name="expr">row.__rownum</expression>
to
<expression name="expr">row.__num</expression>
...??
I am unable to figure out the issue.. I have attached one of my report design..
Please help..
Thanks..
Find more posts tagged with
Comments
There are no comments yet