Oracle Analytics Publisher

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

How Can I Generate QR Codes and Barcodes from XML Fields Using Oracle BI Publisher Desktop?

Received Response
40
Views
1
Comments

Issue: QR Code Generation Error in BI Publisher Desktop

I’m trying to generate a QR code using the syntax <?qrcode:QR_STRING;60?> in my Oracle BI Publisher Desktop template. However, when I run the template, I get the following error:

javascriptCopyoracle.xdo.XDOException: oracle.xdo11g.xpath.XPathException: Extension function error: Error invoking 'qrcode':'java.lang.NoClassDefFoundError: com/google/zxing/qrcode/decoder/ErrorCorrectionLevel'

What I’ve Tried:

  • I’m using Oracle BI Publisher Desktop and generating PDF output.
  • The QR_STRING field is correctly mapped in my XML.
  • The Zxing JAR (for QR code generation) appears to be missing or not properly configured, as suggested by the error message.

Questions:

  1. How can I fix the missing Zxing library in BI Publisher Desktop to allow QR code generation?
  2. Do I need to install any additional libraries or fonts for QR code functionality to work?
  3. Is there any other configuration or fix I need to apply to get this working?

Environment:

  • Oracle BI Publisher Version: Desktop
  • Output Format: PDF

Answers