Hi,
I try to be more understandable :
Here is a part of the JSON I give to my report :
Code: Select all
{"infoEntreprise":[{"logo": "http://localhost:8056/img/painChocolat.jpg"}]}
So I get my the link of my logo through my report : see attachment "Logo_at_URL.PNG".
When I drag-and-drop my logo on my report, I get this on the designer side : See attachment "after_drag_and_drop.PNG".
If I go to the preview here is what I'm seeing : preview_after_drag_and_drop.PNG.
I found an alternative, I go to Insert -> Image -> HyperLink and drag-and-drop my link = 3 steps to add 1 image. (see attachment "alternative_drag_and_drop_column_logo_to_hyperlink.PNG")
However, with this alternative I don't see my image in my Designer, but I see it in Viewer. (see attachments "after_alternative_method_I_dont_see_image_in_designer.PNG"' and "preview_after_alternative_still_dont_see_in_designer_but_in_viewer.PNG")
Moreover, when I try to move the image in designer, an error is throw (see in attachment "alternative_error_when_I_Move_Image_In_Designer_But_I_See_Image_in_Preview.PNG"). I think the error is throw because the designer do not translate the tag "infoEntreprise.logo", the designer try to go to "localhost:8081/report/tache/{infoEntreprise.logo}" obviously, this file doesn't exist. Is it a bug ? Or is it normal ?
My customers want only one step : Drag-and-drop my column "Logo" on my report to display the image, not the hyperlink. Is there a way to simply drag-and-drop my column "Logo" and display the image ?
Tell me if I have to modify my JSON to give to my logo an image value or I don't know..
I also tryed to use a base64 value to my "logo", changed the type of my column as "Image", it works. But I don't want to add base64 to my .mrt because the .mrt files are stocked in my database. I try the same way for the link, but it doesn't work, I still seeing the hyperLink as the text value.
I'm working on port 8081, my images are on port 8056. I also tryed to use images on the same port (8081) but I got the same problems.
I hope it will help you. I just want to drag-and-drop my column logo on my report to display the image at the URL
http://localhost:8056/img/painChocolat.jpg in one step. As I do for all the others columns I want to display.