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)
How to call custom javascript in expression builder
pbjujare
Hi,
i have created the report and drafted the report using the some datasets (EmpNo, Name, Salary). Now i want the salary column should display along with some computed values, this i can achive by using the expression builder.
Now i have a test.js file, which is included in report Build path, now i am calling the function "testme()" which is in test.js file, and i am getting error. saying
"Error evaluating javascript expression. Script engine error.ReferenceError. "testme()" is not defined"
can you please help me how to achive this?
Regards,
Prabhakar J
Find more posts tagged with
Comments
bhanley
You need to add the JavaScript file to your resources for the report. Once you do that the function should be available for you.<br />
<br />
Go to the "<em class='bbc'>Resources</em>" tab in the upper-left of the Workbench and right-click on "<em class='bbc'>Shared Resources</em>". Select "<em class='bbc'>Add Resources</em>" and enter all the info in the Dialog and you should be all set.<br />
<br />
Good Luck!