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)
external js
giusca78
hi all,
how can I include external js into my report?
I have included a js file in my report --> Resources --> Javascript Files, but when I try to call my javascript function, I retrieve a javascript error (Object expected).
Also, I have tried to use this code in xml source
<list-property name="includeScripts">
<property>file.js</property>
</list-property>
but i retrieve the same javascript error.
I use a Text control to write a html form and to assign a javascript function to my html button (input button).
thanks
Giuseppe
Find more posts tagged with
Comments
mwilliams
Hi Giuseppe,
That's all you should have to do to use the functions from your javascript file. Is this issue in the designer, when deployed, or both? What is the entire error stack? Can you post this?
giusca78
hi Michael,
The issue is in the designer. Now I haven't any iServer to deploy.
I tried to view report in "Web Viewer" and "HTML".
The error is
line: ****
error: Object expected
How can I retrieve the entire error stack?
I'm a newbie in Birt.
Thanks
Giuseppe
mwilliams
Giuseppe,
If the error is coming at the bottom of the report when you try to run it, the stack should be right there. There may be a '+' sign to click on to expand out the error. If it is in a pop up box, I would assume the error would be in a log file.