Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 14 Oracle Analytics Lounge
- 211 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 77 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Narrative view contains Javascript results into no data on export.

Hi,
I am using javascript in Narrative View to add content dynamically in <div>, it is working fine on Dashboard but when I am exporting it, it is not giving any data on export.
Can somebody please help me with this? Below is my javascript code:
------------------Narrative View Prefix part---------------------
<div id="IDs"/>
<script language="javascript" type="text/javascript">
var IDs = [];
</script>
------------------Narrative View body----------------------------
<script language="javascript" type="text/javascript">
if(IDs.indexOf('@5')<0)
{
IDs.push('@5');
}
</script>
------------------Narrative View Postfix part---------------------
<script language="javascript" type="text/javascript">
document.getElementById('IDs').innerHTML = "[br/]IDss: " + IDs.toString();
</script>
Answers
-
Well ... that's how it's supposed to be I would say ...
On the screen you see the result of your JS because your browser execute it, for the export OBIEE doesn't take the content from your screen but process it directly on the server side, so they implemented methods to render colours and formats but they didn't implement a full "browser".
0