Announcement

Collapse
No announcement yet.

method to generate a QR code

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • method to generate a QR code

    Hello,

    I would like to inquire if there is a method to generate a QR code within Espo CRM using data. Specifically, I have a text stored in a field, and I would like to generate a QR code based on that data. Could you please provide guidance on how to accomplish this?

    Thank you in advance.

  • #2
    Hi sapyantuk,

    This part of documentation may be useful for you: https://docs.espocrm.com/administration/fields/#barcode.

    Comment


    • #3
      lazovic

      00020101021226560011fonepay.com0606251650071622220 200025591810907580108252048931530352454071500.0058 02NP5943Advance Accounting & Tax Solution Pvt. Ltd.6012Kathmandu MP62370107580108207062559210812construction63044ce 5

      this is the code . when add this text in qr code field. qr image is blank.
      it cant generate

      Comment


      • #4
        sapyantuk,

        I am attaching screenshots with the field settings and showing that everything is working correctly:

        Click image for larger version

Name:	image.png
Views:	232
Size:	31.1 KB
ID:	94392
        Click image for larger version

Name:	image.png
Views:	253
Size:	8.3 KB
ID:	94390
        Click image for larger version

Name:	image.png
Views:	231
Size:	4.0 KB
ID:	94391

        Check the error logs of your instance. Perhaps there is some information about this issue.​​

        Comment


        • #5
          lazovic

          00020101021226560011fonepay.com0606251650071622220 200025591810907580178052048931530352454071500.0058 02NP5943Advance Accounting & Tax Solution Pvt. Ltd.6012Kathmandu MP62290107580178007062559210804busy630401d7

          Comment


          • #6
            lazovic



            I have added the same code here also. qr is not generating

            Comment


            • #7
              I test it on the demo, something wrong with the rendering. It showing stripe image for me too,

              Comment


              • #8
                espcrm Exactly. i also tested in 3 instance , Something is wrong with Rendering

                Comment


                • #9
                  sapyantuk,

                  For now, it is recommended to use shorter values for this field.

                  Comment


                  • #10
                    lazovic but i need to generate Qr with similar length value.

                    Comment


                    • #11
                      sapyantuk,

                      Try in client/src/views/fields/barcode.js file to change line 135 (correctLevel : QRCode.CorrectLevel.H,) to correctLevel : QRCode.CorrectLevel.L, line. Then make a rebuild and check the operation of your QR Code field.

                      Comment

                      Working...
                      X