Oracle Business Intelligence Applications

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Narrative view contains Javascript results into no data on export.

Received Response
11
Views
1
Comments

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".