Nav2013 Report with external pictures

gtrgtr Member Posts: 131
edited 2013-03-26 in NAV Three Tier
Hello,

On Nav2013, sales quote report, I need to add on each line the picture of the item.
Pictures will be external, stored in a specific folder.
I added a column in table control and then a picture control.
In picture properties I set source to external, and in the expression below I entered "c:\img\xxx.png"
(hard coded to test the feature)
But when printing a quote the picture control shows only "x"
I tried with bmp picture too, but same problem.
I verified that the picture xxx.png exists in the specified folder (I already integrated a picture popup on the quote form which workes fine),
The report property EnableExternalImages is set to yes.

Does anybody have an idea what is going wrong ?

Answers

  • rico1931rico1931 Member Posts: 295
    gtr wrote:
    Hello,

    On Nav2013, sales quote report, I need to add on each line the picture of the item.
    Pictures will be external, stored in a specific folder.
    I added a column in table control and then a picture control.
    In picture properties I set source to external, and in the expression below I entered "c:\img\xxx.png"
    (hard coded to test the feature)
    But when printing a quote the picture control shows only "x"
    I tried with bmp picture too, but same problem.
    I verified that the picture xxx.png exists in the specified folder (I already integrated a picture popup on the quote form which workes fine),
    The report property EnableExternalImages is set to yes.

    Does anybody have an idea what is going wrong ?


    I never got this to work in NAV 2009 .. The only way I got something like this to work was to attach the image in the BLOB field on each item card. Annoying but for the job done ... I used something like this viewtopic.php?f=32&t=45012&start=15
    -rico1931
  • MMVMMV Member Posts: 99
    hi,

    Please refer to the existing Sales - Invoice report (object id - 206) for displaying the image.
  • gtrgtr Member Posts: 131
    Hello,

    In the standard sales invoice 206 the picture comes from the database. And this kind of showing a picture on a report is easy to.

    But I need external pictures printed. There is a new source type besides embedded and database : EXTERNAL.
    So I imagine that if it exists, there should be a way to make it work.
  • gtrgtr Member Posts: 131
    I found my erreor : I forgot to add the suffix to the path - in my case file:
Sign In or Register to comment.