on 08-06-2014 7:44 AM
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
Hi,
If your image is stored in installation directory, then you can use below formula:
<img src="boimg://abc.gif">
Sahil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
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.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.