Oracle Transactional Business Intelligence

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

OTBI - Using custom images in HTML

Received Response
53
Views
2
Comments
Rob F
Rob F Rank 4 - Community Specialist

Hello Experts,

Is there any way to reference the images uploaded to the catalog via HTML?

I've uploaded images to the catalog and would like to use them in HTML that I'm adding to a dashboard.

I noticed when adding a Link/URL object to a dashboard I can select images from the catalog and it references it using "cmap:/custom/images" but that link doesn't seem to work as the source for an image tag using HTML.

Hopefully someone has solved this before.

Kind Regards
Rob

Tagged:

Answers

  • Nathan CCC
    Nathan CCC Rank 7 - Analytics Coach

    Hi, I assume I know what you mean when you say "upload image" to OBI. For example, in your editor you selected the button "Upload Image", selected a file from your local machine, the system put that file in hidden folder /Custom/images. You can then reference that custom image in your content.

    But what do you mean when you say upload image "via HTML". Do you mean that instead of upload image you used a uniform resource locator (URL). If this is so then you did NOT upload the image. The image is not in the catalog in folder custom images. The image is not in your environment full stop. It remains "out there" somewhere on the world wide web information superhighway. If so, then you just reference as you would on any page using your standard markup language whether if was in OBI or not?

  • Rob F
    Rob F Rank 4 - Community Specialist

    Hey Nathan,

    Thanks for the response.

    I can say clearly that I have definitely uploaded the image to the hidden images folder in /custom/images. The real questions is how do I call that image via HTML.

    I'm creating a hyperlink that calls some JavaScript and it would be nice to add an icon to make it look a little nicer.

    Is there any way for me to reference an image in that custom/images folder via HTML from within OTBI?