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 :
Business Central forum

DISPLAYBARCODE field in word template when sent to PDF shows "Error! Barcode generator is not set."

(0) ShareShare
ReportReport
Posted on by

If I add a DISPLAYBARCODE field to word template and send a report as Word document, a barcode is displayed as expected. But when I send to pdf an "Error! Barcode generator is not set." is shown in a place where barcode was supposed to be. I believe it's Business Central Limitation and I would like to report it as a bug.

  • Community Member Profile Picture
    on at

    I am also getting this error. I want to add that this works when the report is generated from the BC Windows client. But when I tried with the Web Client, i got the same Barcode generator error reported above. Can someone please provide a way to fix this?

  • Lars Lohndorf-Larsen Profile Picture
    Microsoft Employee on at

    Hello,

    Did you ever find a solution to this?

  • kub4nek Profile Picture
    10 on at

    I think you can't print barcodes generated with DISPLAYBARCODE in an non-interactive session under NAV/BC; I've tried almost everything and every attempt failed.
    What you could is: generate the barcode programatically using (C)AL and store it as a Bitmap BLOB in the record.

    Then use this BLOB field in your Word template as Picture Content Control. This seems to be the only solution nowadays.

    HTH,

    k

  • JWoo Profile Picture
    5 on at

    Do you know where I can get instructions on " generate the barcode programatically using (C)AL and store it as a Bitmap BLOB in the record." ?

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans