Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    import .vcf file in contacts

    General Discussion
    4
    7
    1838
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • systux
      systux last edited by systux

      Hello All

      Is there a way to import contacts in kopano ? I have a .vcf file from thunderbird with
      lots of addresses that needs to be imported . The “Import to folder” menu item for attachments suggets it should be possible , but actual results of that import are rather disappointing.
      It shows a file in contacts , containg the content of the .vcf file, which is nice , but rather useles.

      Wim

      1 Reply Last reply Reply Quote 0
      • fbartels
        fbartels Kopano last edited by

        Hi @systux ,

        as an admin you can easily import such data through python-kopano. An example script can be found at https://stash.kopano.io/projects/KC/repos/kopanocore/browse/swig/python/kopano/scripts/import_rfc.py

        @systux said in import .vcf file in contacts:

        The “Import to folder” menu item for attachments suggets it should be possible , but actual results of that import are rather disappointing.

        I’m sure my webapp colleges would be happy if you could elaborate on that a bit. Importing vcf files is something that was recently being worked on as far as I remember.

        Regards Felix

        Resources:
        https://kopano.com/blog/how-to-get-kopano/
        https://documentation.kopano.io/
        https://kb.kopano.io/

        Support overview:
        https://kopano.com/support/

        1 Reply Last reply Reply Quote 0
        • mcostan
          mcostan last edited by

          Otherwise another easy way that I use without having to run a command is to email yourself the contacts on an Android phone (perhaps it works on iPhone) and provided you have z-push installed, you can just import the contacts in that account, and they will make their way back to Kopano via z-push. Works perfectly.

          1 Reply Last reply Reply Quote 0
          • micro
            micro last edited by

            I was looking for such a solution, too. I stumbled over this thread but unfortunately it didn’t work for me, neither with the “right-click onto a .vcf file” --> “import” within WebApp and nor with the suggested python script. My .vcf contains about 30 contacts in this syntax:

            BBEGIN:VCARD
            VERSION:3.0
            FN:George Penny (nickname)
            N:Penny (nickname);George;;;
            EMAIL;TYPE=HOME:george@pen.ny
            ADR;TYPE=HOME,PREF:;;Example St. 1;Berlin;;12345;DE
            END:VCARD
            
            BEGIN:VCARD
            VERSION:3.0
            FN:John Doe
            N:Doe;John;;;
            BDAY:1950-01-01
            EMAIL;TYPE=HOME:don@joe.priv
            EMAIL;TYPE=HOME:john@doe.foo
            END:VCARD
            
            [ ...] and so on ...
            

            if you import this .vcf file only the first contact is imported into Kopano WebApp, the rest is ignored.

            1 Reply Last reply Reply Quote 0
            • micro
              micro last edited by

              any clues how to fix that?

              fbartels 1 Reply Last reply Reply Quote 0
              • fbartels
                fbartels Kopano @micro last edited by

                Hi @micro,

                at this time the interface indeed only supports one item at a time. We do have tickets to allow for multi item upload from a single file (for example https://jira.kopano.io/browse/KC-1487).

                The workaround for the moment would be to separate your contacts out into individual files.

                Regards Felix

                Resources:
                https://kopano.com/blog/how-to-get-kopano/
                https://documentation.kopano.io/
                https://kb.kopano.io/

                Support overview:
                https://kopano.com/support/

                1 Reply Last reply Reply Quote 0
                • micro
                  micro last edited by

                  Thanks for feedback. Workaround will be funny if you want to this for 300 contacts :) so I guess we need to wait for the implementation as suggested on the ticket you showed me.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post