cancel
Showing results for 
Search instead for 
Did you mean: 

boimg is not working from the HTML

Former Member
0 Kudos

Hi,

Just now we have migrated from XIR2 to BO 4.0.7

After report migration some of the webi reports shown error due to change in URL they were not able to load opendocument and images.

CODE :

=" "+If([Constante 2]=2;"<a target=_blank href=http://XX.XXX.XXX.XXX:8080/BOE/OpenDocument/opendoc/openDocument.jsp?sType=wid&sDocName="+URLEncode("TDBBAMBI_Décomposition en date de traitement")+"&lsM"+URLEncode("Libellé(s) service ?")+"="+URLEncode([Libellé service (indicateur)])+"&lsM"+URLEncode("Libellé(s) du ssa ?")+"="+URLEncode([Libellé du ssa amont])+";"+URLEncode([Libellé du ssa aval])+"&lsM"+URLEncode("Libellé(s) société ?")+"="+URLEncode([Libellé société (compteur)])+"&lsM"+URLEncode("Libellé(s) du canal ?")+"="+URLEncode([Libellé du canal (compteur)])+"&lsS"+URLEncode("Date de communication maximum ?")+"="+URLEncode(UserResponse([TDBBAMBI detailles en DC];"Date de communication maximum ?"))+"&lsS"+URLEncode("Délai (jours) ?")+"="+URLEncode(UserResponse([TDBBAMBI detailles en DC];"Délai (jours) ?"))+"&lsM"+URLEncode("Libellé(s) fonction ?")+"="+URLEncode([Libellé fonction (compteur)])+"&lsM"+URLEncode("Libellé(s) origine ?")+"="+URLEncode([Libellé origine (compteur)])+"&lsM"+URLEncode("Libellé(s) trafic ?")+"="+URLEncode([Libellé trafic (compteur)])+"&lsM"+URLEncode("Code(s) du compteur ?")+"="+URLEncode([Code du compteur])+"><img src=boimg://flow.gif border=0></a>";"<a target=_blank href=http://XX.XXX.XXX.XXX:8080/BOE/OpenDocument/opendoc/openDocument.jsp?sType=wid&sDocName="+URLEncode("TDBBAMBI_Formule des indicateurs en DC - Unitaire")+"&lsM"+URLEncode("Code(s) indicateur ?")+"="+URLEncode([Code de l'indicateur])+"&lsM"+URLEncode("Libellé(s) société ?")+"="+URLEncode([Libellé société (compteur)])+"><img src=boimg://arrow1.jpg border=0></a>")


http://XX.XXX.XXX.XXX:8080/BOE/OpenDocument/opendoc/openDocument.jsp --> OK


<img src=boimg://arrow1.jpg border=0> --> Not OK , image is not getting loaded.



Please let me know what URL to i need to put here.


Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Sahil,

I have done , even i tried *.gif and *.jpeg just to make sure there is no any image loading problem.

When i am changing property to

set background --> load image from URL --> boimg://flow.gif

I can see image appearing in background of a cell.

But Same URL is not working when cell type is HTML.

We need to load 2 different images , As you can see from the screen shot .

For the (RED)  color cell image is different for other non color and yellow cells image is different.

And when we click on the image another BO report should get open.

Currently functionality is working , report is getting open by clicking (red cross) but images are not loaded.

former_member207878
Active Participant
0 Kudos

Go to  BI4.0 CMC -> Servers -> Web Intelligence Services -> WebIntelligence ProcessingServer  and look for Images Directory parameter . Provide common path and place your images into that

Former Member
0 Kudos

I am not able to find such variable in  BI4.0 CMC -> Servers -> Web Intelligence Services -> WebIntelligence ProcessingServer


I have checked properties and placeholders no any Images Directory parameter

former_member207878
Active Participant
0 Kudos

It is there in Properties tab:

Former Member
0 Kudos

Its blank.

I have set it to <install_dir>/sap_bobj/enterprise_xi40/images

And the restarted the webi server, still issue present

=" "+If([Constante 2]=2;"<a target=_blank href=http://10.113.168.205:8080/BOE/OpenDocument/opendoc/openDocument.jsp?sType=wid&sDocName="+URLEncode("TDBBAMBI_Décomposition en date de traitement")+"&lsM"+URLEncode("Libellé(s) service ?")+"="+URLEncode([Libellé service (indicateur)])+"&lsM"+URLEncode("Libellé(s) du ssa ?")+"="+URLEncode([Libellé du ssa amont])+";"+URLEncode([Libellé du ssa aval])+"&lsM"+URLEncode("Libellé(s) société ?")+"="+URLEncode([Libellé société (compteur)])+"&lsM"+URLEncode("Libellé(s) du canal ?")+"="+URLEncode([Libellé du canal (compteur)])+"&lsS"+URLEncode("Date de communication maximum ?")+"="+URLEncode(UserResponse([TDBBAMBI detailles en DC];"Date de communication maximum ?"))+"&lsS"+URLEncode("Délai (jours) ?")+"="+URLEncode(UserResponse([TDBBAMBI detailles en DC];"Délai (jours) ?"))+"&lsM"+URLEncode("Libellé(s) fonction ?")+"="+URLEncode([Libellé fonction (compteur)])+"&lsM"+URLEncode("Libellé(s) origine ?")+"="+URLEncode([Libellé origine (compteur)])+"&lsM"+URLEncode("Libellé(s) trafic ?")+"="+URLEncode([Libellé trafic (compteur)])+"&lsM"+URLEncode("Code(s) du compteur ?")+"="+URLEncode([Code du compteur])+"><img src=boimg://flow.gif border=0></a>";"<a target=_blank href=http://10.113.168.205:8080/BOE/OpenDocument/opendoc/openDocument.jsp?sType=wid&sDocName="+URLEncode("TDBBAMBI_Formule des indicateurs en DC - Unitaire")+"&lsM"+URLEncode("Code(s) indicateur ?")+"="+URLEncode([Code de l'indicateur])+"&lsM"+URLEncode("Libellé(s) société ?")+"="+URLEncode([Libellé société (compteur)])+"><img src=boimg://arrow1.jpg border=0></a>")

former_member207878
Active Participant
0 Kudos

Specify your Image Directory path over there and place the files on same path. After that try to refresh report again.

Former Member
0 Kudos

boimg works with cell declare as a HTML ?

due to dynamic nature i cant set it static with background image.

Code of this cell is shared above

Former Member
0 Kudos

Not working i have tried

Former Member
0 Kudos
former_member207878
Active Participant
0 Kudos

Rohan,

Have you copied your image file to upgraded server as well?

If not, then copy it to upgraded server and this URL will work.

Thanks!

Sahil