Post Closed
46
Views
3
Comments
Solved
Vcard QR code generator
Question

Hi all, 

I'm currently working with a mobile app that lets users to scan a QR code of other users, once they scan it, it will automatically add to their contacts with the corresponding info of the other user (VCard). The process is working but I want to add a Department field, how can I do that? 

Thanks for you help

2021-10-09 07-57-44
Stefan Weber
 
MVP
Solution

As far as i know there is no direct department field in the vcard specification. The VCard specification states that the ORG field supports specifying the organization plus organization units separated by a semicolon ex:

MyCompany LLC;IT Department

I just tested this successfully using my QR code generater component https://www.outsystems.com/forge/component-overview/12980/qrcoder-qr-code-generation

After scanning the code on my iphone i get a contact with company MyCompany LLC and a department of IT Department.



UserImage.jpg
Ma Raven Ann Araga

Thank you so much for this, it helped me in adding the info in the department field, I'm using the component JS QR Code Generator but the QR code that has been generated is shrank. I appreciate if you have any advice for this. Thank you once again. :)

2021-10-09 07-57-44
Stefan Weber
 
MVP

Sorry. I haven't used that component you mentioned. With shrank you mean that it is too small to be recognized by the scanner? If it is an image you can add manually width and height properties.