cancel
Showing results for 
Search instead for 
Did you mean: 

Image hyperlink in SAP BO 4.0

0 Kudos

Hi,

Needed some help with an issue.

I am using SAP BO 4.0 SP 7. It is installed on an UNIX server.

I have to requirement where based on an objects value we will show images and on clicking the image another Webi report will open.

I am reading the cell content as HTML. The code for the cell is like this:

=If([ObjectA]=1;"<a href=opendoc1 link><img src=boimg://a.gif></a>";"<a href=opendoc2 link><img src=boimg://b.gif></a>")

Here, the opendoc links are working fine. But the images are not displaying. The images are placed in the 'images' folder inside enterprise_xi40 directory inside the installation folder.


Can anyone help?

Regards

Nikhil

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member207878
Active Participant
0 Kudos

Hi,

If your image is stored in installation directory, then you can use below formula:

<img src="boimg://abc.gif">

Sahil

0 Kudos

Hi Sahil,

I have already tried that. But it is still not displaying the images.

saurabh_sonawane
Active Contributor
0 Kudos

Hi

try to save ur webi in server and run the webi from the BI launch pad only on client tool of webi it is not display so try to save over server and let me know

and

plz send me the screen shot of final output

saurabh_sonawane
Active Contributor
0 Kudos

Hi Saurabh,

I am running the image from BI launch pad only. In the DEV environment.

When I write the code like below with servername and port then it is displaying the image and also the opendoc links are working fine:

=If([ObjectA]=1;"<a target=_blank href="http://XYZ:8080/BOE/OpenDocument/opendoc/openDocument.jsp?sType=wid........."><img src="http://XYZ:8080/images/asdf.gif" border=0></a>";"<a target=_blank href="http://XYZ:8080/BOE/OpenDocument/opendoc/openDocument.jsp?sType=wid........."><img src="http://XYZ:8080/images/qwerty.jpg" border=0></a>")

But since the server and port will be different for different environments and it needs to be migrated to client prod environment, I need a more generic code with relative path.

Therefore, I tried using BOIMG:// to give path for the images since it is the default path for images stored in BO.

The code now looks like this:

=If([ObjectA]=1;"<a target=_blank href="../../BOE/OpenDocument/opendoc/openDocument.jsp?sType=wid........."><img src="boimg://asdf.gif" border=0></a>";"<a target=_blank href="../../BOE/OpenDocument/opendoc/openDocument.jsp?sType=wid........."><img src="boimg://qwerty.jpg" border=0></a>")

With this code, the opendoc links are working fine but images are not loading. See the below screenshot:

What could be the isuue?

saurabh_sonawane
Active Contributor
0 Kudos

Hi

the image src your giving is wrong

step 1 go to BI launch pad

step 2 go to image where you store

step 3 right click on the image and select document link

and use that document link in your IMAGE SRC

and let me know

0 Kudos

Hi,

I tried to give the path where the image is stored, but still it doesn't help. Having the same issue.

The image are placed in the folder within the installation directory.

Could you provide an example of how to give a relative link to the image path, if the image is stored in a folder inside the installation directory. BO is installed on UNIX server.

saurabh_sonawane
Active Contributor
0 Kudos

hi

i had gone through ur formula

you had created a wrong document link

plz follow this step

plz follow step by step

after  that dont apply if condition and let me know

NOTE

if you image source in BI launch pad the you have to use document link of that image

saurabh_sonawane
Active Contributor
0 Kudos

Hi

what is the status let me know ???

0 Kudos

Hi Saurabh,

The document link is working fine. Only the images are not getting displayed.

And the If condition is necessary for the requirement I have.