Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Cannot read property "****" from undefined
Abnoxio
I have created a two dimensional Array called aData[][] during on fetch of a table. The values do populate, they render on my local machine perfectly but when I deploy them to the server they do not render. I am using these values to poulate Master pages on render, like this:
this.text = reportContext.getPersistentGlobalVariable("aData")[MasterPageCount]["NALC"];
I also get this error:
Cannot read property "NALC" from undefined.
Any ideas?
I've tried it without using a persistant global variable, I've tried it as a regular Array, and gives me the same error.
Find more posts tagged with
Comments
mwilliams
How are you running the report on your server? In the web viewer or using java?
Abnoxio
<blockquote class='ipsBlockquote' data-author="'mwilliams'" data-cid="97968" data-time="1331931129" data-date="16 March 2012 - 01:52 PM"><p>
How are you running the report on your server? In the web viewer or using java?<br /></p></blockquote>
Abnoxio
I'm generating it directly to a PDF both on my local, and the server. I'm using 2.5.2 on my local and I believe 2.6.0 on the server. When I run my java debug window the values come up fine as well. I'm home now so I can't post any of the code. But hey, thanks for the quick response!
mwilliams
When you run on the server, are you using the web viewer to run the report? If so, what URL are you using? If you're using java code, are you using the runAndRender task or the separate run and render tasks? Also, if you could post your error and your report, that'd be great!