Hello,
I'm looking for a way to save a vCard (vcf file) in a mobile device (Android or Iphone) with Wix.
Since i can't save this kind of file in the DB, does anyone knows how can i do it?
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
Hi i have got this working but when the click the button it takes them to onedrive where they have to then open the file in contacts. Can i make it so it automatically puts it into contacts?
Hey all, appreciate the work around however i seem to be running into an issue.
Any help would be handy.
Code currently looks like:
import wixLocation from 'https://www.hillierplumbingandgas.com/test1';
$w.onReady (function () {
wixLocation.to("https://drive.google.com/open?id=1VJz1RvSUiq9cufRQCBqW5TXdp4R21TGf");
});
I suspect its the first lines wixLocation but would like some clarification. Images attached for reference
For whoever wants it added maybe in the future to Wix, then go request it here.
https://support.wix.com/en/article/request-vcf-file-support
@gurs thanks.. how do I link the hidden page to the dropbox vcard file?
So far I have this....
@gurs is there then a way to email/text this card to someone from thier mobile device... So I have a webpage and someone is looking at it in mobile view.. I create a button that says "Share my contact info" and when someone presses the button, it sends an email with my contact info?
I have a workaround that I used to host a vcf / vcard on my wix site, since wix can't do it natively (which is pretty annoying). Pretty simple actually. It involves creating a hidden webpage in Wix and then forwarding that page to your VCF file, which is hosted elsewhere.
First, upload your vcf file to whatever cloud storage you use (dropbox, onedrive, etc.), share it so it is publicly available and copy the access URL. Then create a new page on your wix site, hide it from your navigation and turn off SEO/search access (both options found in the page settings section). You may also want to add some text to your page saying “your vcard is now loading” or something similar.
Make sure Corvid code is turned on for your site (should be a menu option to enable Corvid). In the Wix editor, view your newly-created page and drag up from the bottom of the screen to reveal the code window. Assuming you have no other code running for this page, here is what your code section should look like:
// For full API documentation, including code examples, visit http://wix.to/94BuAAs import wixLocation from 'wix-location'; $w.onReady( function() { wixLocation.to("access URL of hosted file"); }) ;
Then publish your page and use the URL of the wix page when you want to access or send your vcard. You can also create a QR code with the URL of the hidden Wix page, which will automatically forward to your vcard. And if you want to change your vcard, just upload a new file to your cloud storage service, note the new URL and update the Corvid code on your Wix page. Any QR codes or links you have given out previously will still be valid.