Discussions

Expand all | Collapse all

Can I add an attachement field that holds a vCard?

  • 1.  Can I add an attachement field that holds a vCard?

    Posted 10-31-2016 15:35

    I would like to be able to define which fields the vCard generates, and then allow users to be able to access this file from their mobile devices. So essentially I would have a button to generate the vCard based on specified fields and then create an attachment. When I enter my formula, it wants a template ID, and I'm not sure how to set up the template to have this work.

    Any suggestions on how to get this to work would be helpful. 



  • 2.  RE: Can I add an attachement field that holds a vCard?

    Posted 03-02-2017 06:18
    You can use a Java lib for this like https://github.com/mangstadt/ez-vcard or you just create a vcard conform String and write it into a File. For information how a vcard looks like see the wiki page http://en.wikipedia.org/wiki/VCard

    You would need to map the fields to your code, then give them a button to run the scrip and save the new file.