VCard QRCode

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PavelZ
    Member
    • Jan 2023
    • 30

    VCard QRCode

    Hi, what do you think about the idea of having a QR symbol as a business card next to a contact in ESPOCRM?
  • esforim
    Active Community Member
    • Jan 2020
    • 2204

    #2
    Hi there, we already doing something like this. It just the image size require to be quite high to be scannable. As vCARD code got many commands that make it difficult.

    Comment

    • esforim
      Active Community Member
      • Jan 2020
      • 2204

      #3
      Here is our proof of concept

      Comment

      • PavelZ
        Member
        • Jan 2023
        • 30

        #4
        Hi, I try to create QR symbol from attributes. I use string\concatenate but i need put between attributes enter (cr lf) but i do not know how. Can you help me? Tahnk you

        Comment

        • esforim
          Active Community Member
          • Jan 2020
          • 2204

          #5
          Click image for larger version

Name:	image.png
Views:	222
Size:	25.0 KB
ID:	102884
          Image reupload. Hopefully not private data!

          Comment

          • PavelZ
            Member
            • Jan 2023
            • 30

            #6
            Hey, great. That's exactly what I want. Can you send me the code (formula)?

            Comment

            • PavelZ
              Member
              • Jan 2023
              • 30

              #7
              Hey, I figured it out. But I have a problem. If I create a QR symbol where all the information is, the code generation ends up with an error. Is it possible to increase the amount of information that the symbol can contain?

              Comment

              • ThomasB
                Senior Member
                • Mar 2022
                • 163

                #8
                A QR code is capable of encoding a maximum of 2953 bytes of data, 4296 alphanumeric characters, 7089 numeric characters, or 1817 Kanji characters (character set according to JIS X 0208).​

                Comment

                • PavelZ
                  Member
                  • Jan 2023
                  • 30

                  #9
                  Hi, that's why I don't understand why the QR generation ends with an error. I have a much lower number of characters.

                  Comment

                  • yuri
                    Member
                    • Mar 2014
                    • 8440

                    #10
                    Our QRCode (bardcode) field type supports max length of 255 characters. Longer strings (though it's not possible to do via the UI) are not guaranteed.
                    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

                    Comment

                    • yuri
                      Member
                      • Mar 2014
                      • 8440

                      #11
                      For information, an error correction measure takes up characters.
                      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

                      Comment

                      • PavelZ
                        Member
                        • Jan 2023
                        • 30

                        #12
                        Hi, are you planning to increase the number of supported characters above 255?

                        Comment

                        • yuri
                          Member
                          • Mar 2014
                          • 8440

                          #13
                          No. We don't plan.

                          Note that we are also limited by library capabilities.

                          I tested, and could display strings way longer than 255.
                          Last edited by yuri; 02-20-2024, 09:03 AM.
                          If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

                          Comment

                          • PavelZ
                            Member
                            • Jan 2023
                            • 30

                            #14
                            Hi, I would need more characters to generate a VCard. The ideal situation is to have the VCard with the address. I tried without the address, but even so the number of characters is insufficient. ​It is ideal to have at least 500 characters.
                            BEGIN:VCARD
                            VERSION:
                            N;CHARSET=UTF-8:Hložanský;Čestmír;;Mr.;
                            FN;CHARSET=UTF-8:Mr. Čestmír Hložanský
                            TEL;TYPE=CELL:+4208789678567
                            ORG;CHARSET=UTF-8:Firma spol. s r. o.
                            TITLE;CHARSET=UTF-8:Vývojový technický pracovník
                            ADR;CHARSET=UTF-8;TYPE=WORK,PREF:;;Náměstí A. Holešovského 456;Brandýs nad Labem;67598
                            EMAIL:holansky.cestmir@firma.cz
                            URL:http://www.firma.cz
                            END:VCARD​

                            Comment

                            • yuri
                              Member
                              • Mar 2014
                              • 8440

                              #15
                              I can only recommend to do customization.

                              You can increase maxLength in entityDefs for your field. Then it's up to the library whether it will be able to render your long string. I won't be able to help more.
                              If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

                              Comment

                              Working...