Issues with integrating Java script functions in OBIEE 11G
Hello experts..
I am trying to integrate some Javascript functions in my OBIEE 11G Dashboard..
I have modified the original common.js file and renamed it as insight_common.js in the following directory (backed up the original file of course)
OBIEE 11G Folder/user_projects/domains/bifoundation_domain/servers/bi_server1/tmp/_WL_user/analytics_11.1.1/7dezjl/war/res/b_mozilla/insight_common.js
In my dashboard, I have a dashboard object as text component where I have checked 'Contains HTML Markup'. I have written the following code:
hello
<script src="/res/b_mozilla/insight_common.js" type="text/javascript"></script>
<script type="text/javascript">
sayHi();
</script>
However, when I launch the dashboard, it is not working.
In the Google Chrome browser as I inspected the element to investigate the reason, I am getting the following error under 'console'
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost/res/b_mozilla/insight_common.js
Uncaught ReferenceError: sayHi is not defined saw.dll:611
It seems that OBIEE is not recognizing the new file that I made..
Is there a way around this?
Thanks