qr - data path to vcard #291
Replies: 4 comments
-
Hello @extensionteamhq. A couple of things:
Data is encoded as is, and I believe that is how it should be with any QR.
Can you provide a reproduction for this? Here is a REPL using |
Beta Was this translation helpful? Give feedback.
-
Hi @vnphanquang, thanks for the quick reply. It's not encoding the contents of the file The examples I've seen are using a URL (e.g., I would, however, like to encode the contents of the file at
I hope that examples my scenario better. |
Beta Was this translation helpful? Give feedback.
-
Hello @extensionteamhq, thanks for the clarification. Just so we are on the same page, you want to encode the content of your As I've mentioned, whatever passed to the
I've put together an example here showing both of the methods above. Please take a look and let me know if that's what you are looking for. Important The content of your |
Beta Was this translation helpful? Give feedback.
-
Hi @vnphanquang, Thanks again for the quick reply. What you provided was very helpful and informative. Also, thank you for building out the two examples; they helped me understand what was being said. |
Beta Was this translation helpful? Give feedback.
-
It appears that the qr data to encode will not work with a relative path /vcard.vcf and it also doesn't seem to recognize when it is a file to be downloaded.
If I use the relative path
/vcard.vcf
the result is search "/vcard.vcf".If I use a full path,
https://example.com/vcard.vcf,
the result is a link to https://example.com/.Beta Was this translation helpful? Give feedback.
All reactions