Art of BI: OBIEE and Google Maps Integration Browser Warning

After the first post on Google Maps integration with OBIEE we found that things worked swimmingly with Firefox but a very annoying looking error message was being produced with Internet Explorer(IE).
[simage=16,200,y,center]

This image/warning is caused usually by JavaScript errors. As we can see below the Google Map integration still works wonderfully, we just get that imperfect warning symbol.
[simage=14,200,y,center]

To get rid of this symbol, enter your Narrative view properties window and change the PostFix property field to the following:
[simage=15,200,y,center]

The change you need to make is to change the “onunload” to “onUnload” so that it has an uppercase “U”. Since javascript is a case sensitive language we need to be careful of little things like this.

Alternatively, you can use the pure, sure-fire apprach that Micrsoft recommends which is:

[sourcecode language=’javascript’]

[/sourcecode]

Place this after <div> tag that the Google Map is actually dumped into when rendered on the page.

Save your view and test it out. Yes! No more annoying warning in the bottom left. Cheers mates.

References:
http://www.devguru.com/Technologies/ecmascript/quickref/evhan_onunload.html
http://msdn.microsoft.com/en-us/library/ms536973(VS.85).aspx

Contact Us
Christian Screen
Christian is an innovator in analytics and data warehousing design, best practices, and delivery. With more than fifteenyears of decision support and data warehousing with key experiences at Office Depot HQ, Sierra-Cedar, and Capgemini, he oversees the Oracle Analytics Practice which includes the technical development and delivery of Oracle BI collaboration software, data warehouse solutions, Oracle BI/EPM projects, and packaged analytics solutions at Datavail.

Leave a Reply

Your email address will not be published.
Required fields are marked (*).