Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 15 Oracle Analytics Lounge
- 208 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 76 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Calling image through html in narrative view (OBIEE 12c)

Hi all,
I've a strange issue;
just migrated to OBIEE 12 (12.2.1.2.0).
I'm trying to use a narrative view to display an image; using
<img src="http://serverpath/logo.png">
Same code in 11g works fine.
Any idea?
Thanks
Marco
Answers
-
Foud this note:
https://docs.oracle.com/middleware/1221/biee/BIESG/answersconfigset.htm#BIESG9326
maybe is the right path?
M
0 -
Hi Marco,
If images comes from a different domain than OBIEE you are hitting the CSP security (Content Security Policy).
It's a protection not loading objects from other domains to avoid XSS & co.
You find details on how to whitelist your domain to allow to load the images in the doc: https://docs.oracle.com/middleware/1221/biee/BIESG/answersconfigset.htm#BIESG9326
But first open the developer toolbar of your browser and make sure that's the issue (the message is in general quite explicit).
You can find an example of configuration of CSP here: https://gianniceresa.com/2016/10/google-map-in-an-obiee-12c-analysis/
It was about allowing to embed Google Maps so the config required is a big more, in your case just one block to allow images from your domain and done. (Please do not totally turn off CSP as some may suggest, it's there to protect your system).
0 -
Gianni,
thanks for the answer; I think this is the issue
...maybe to get things simple we will use same fmap path to store images since there is no need to put them on a different server.
Kind Regards
M
0 -
+1 !
Additionally you will get the added benefit of - if you nicely deploy things in a custom deployment like analyticsRes - then you can bundle things in a way which makes them usable for standard deployment processes.
0 -
+1 to Christian with analyticsRes: it will works fine as it's served from the same domain as OBIEE (=> no CSP).
In case you need details it's here: https://gianniceresa.com/2016/12/deploy-custom-folder-obiee-12c-analyticsres/
0 -
I forgot to put the link? How great :-(
0 -
To put some images on the 12c, you cant upload in "edit dashboard" and use Link or Image (50kb limit)
I dont know if help you, but is a free tip
Here.
0