QR Code is disappearing when I open PDF designed using Adobe LiveCycle designer in Browser | Community
Skip to main content
August 24, 2021
Question

QR Code is disappearing when I open PDF designed using Adobe LiveCycle designer in Browser

  • August 24, 2021
  • 1 reply
  • 2343 views

The QRCode object which I added in XDP for a form is disappearing in browser, but it is appearing in Acrobat reader. So I tried creating QRCode image using Zxing library and embedded into PDF using PDFBOX library. Now the QRCode can be seen in browser but not in Acrobat. In Acrobat the QRCode object which I added in XDP is appearing and when I save the PDF by entering some values in Acrobat and open that in browser then the QRCode object is appearing not my QRCode which I created using Java.

 

Is there a way to get QRCode Object visible on browser?

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Kosta_Prokopiu1
Adobe Employee
Adobe Employee
August 24, 2021

Hi @kalyana ,

missing those 2 and using a PDF library to modify the PDF outside do not work together well.

If you are using a java lib you could create the image, make a base64 of the content and then add this in a tag of your data like <qrcodedata>IUZG897VBGUZG...</qrcodedata>. Then skip the QRcode object and do not mess with the PDF outside - use an image field of XFA, bind the data tag to it and you should see your QRcode as an image all the time.

Kosta

kalyanaAuthor
August 24, 2021

In our case QRCode object is part of master page and the value to that object is dynamic, like it varies to page to page. As per your suggestion we can bind with base64 value only once so that it looses dynamic behavior of getting different values for different pages.

 

Is there any way to handle this dynamic behavior thing?