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:
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.
I have checked and the images are placed in the right folder.
It is the path which is mentioned in the parameter “Image directory” in WEBI processing server.
There is no problem with the images format. They are JPG and GIF only.
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;"";"")
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;"";"")
With this code, the opendoc links are working fine but images are not loading.
This is quite challenging and interesting task.
I have no idea how to write a generic code which would be applicable for any server.
But, I read a post as given below .
Thanks for sharing the post.
I tried to provide a relative link for my image path.
But when I give a relative path to that, the images are not showing.
When I am providing it with the servername and port, the images are working fine.