dribbusch Posted October 29, 2017 Share Posted October 29, 2017 After the default instance setup on EC2 (V6.4.0), a simple sample visualize.js example with an exisiting ad-hoc report failed (also on jsfiddle).Caused by a javascript "TypeError: t is null" visualize.js:52:24553 . Actually it should work out of the box, or? Link to comment Share on other sites More sharing options...
dribbusch Posted October 30, 2017 Author Share Posted October 30, 2017 OK, ad-hoc reports are currently not supported. But with basic reports the problem remains. It turns out, that the exception occurs if the code is embedded in an HTML file. In jsfiddle it works as expected. Link to comment Share on other sites More sharing options...
dribbusch Posted October 30, 2017 Author Share Posted October 30, 2017 I found the answer here https://community.jaspersoft.com/documentation/tibco-jasperreports-server-visualizejs-guide/v640/api-reference-visualizejsIn section "Testing your JavaScript" is mentioned, "... HTML page containing your Javascript must be accessed through a web server. Opening a static file with a web browser does not properly load the iFrames needed by the script " . Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now