web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

To convert PDF to binary

(0) ShareShare
ReportReport
Posted on by

Hello,

Can anyone suggest me how to convert reports generated in NAV 2009 as pdf to binary format?

Thanks

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Rajasekhar@MS Profile Picture
    5,569 on at

    Hi Shweta

    You can try the below link

    forum.mibuso.com/.../nav-2013r2-embedding-files-pdf-txt-etc-as-binaries-i-xml

  • Suggested answer
    Binesh Profile Picture
    7,887 on at

    Hello Shweta,

    Could you speek more  why you convert pdf to binary.

    If your plan is storing pdf file in BLOB field (binary) then you can do easily.

    for that create InStream, OutStream, and after that use UPLOADINTOSTREAM.

    For more info visit UPLOADINTOSTREAM Function (File)

    You can also use BLOB.IMPORT....

    First try itself, Code something like:

    For Classic
         BLOB_Field.IMPORT(PDFFileName, FALSE);

    For RTC

    IF UPLOADINTOSTREAM('','','',PDFFileName,NVIStream) THEN BEGIN
        IF CALCFIELDS(BLOB_Field) THEN BEGIN
          BLOB_Field.CREATEOUTSTREAM(NVOStream);
          COPYSTREAM(NVOStream,NVIStream);
       END;
    END;

  • GwaindepyKudah Profile Picture
    53 on at

    Hi this sounds like a good idea, may you advice if its possible to extract the contents of the pdf from the blob and use them as email body? Word Layout are giving me some limitations

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Liquid error: parsing "/globalsearch/?q=11%3A02)%0D%0AAfterCallWork+(00%3A10%3A33)%0D%0A3%0D%0A0%0D%0A00%3A01%3A41%0D%0A00%3A05%3A40%0D%0A00%3A00%3A00%0D%0A00%3A00%3A00%0D%0A00%3A04%3A29%0D%0AAfterCallWork+(00" - Too many )'s.