Can I add an attachement field that holds a vCard?

  • 0
  • 3
  • Question
  • Updated 2 years ago
  • In Progress

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. 

Photo of Andreonna


  • 1,040 Points 1k badge 2x thumb

Posted 3 years ago

  • 0
  • 3
Photo of Matthew Neil

Matthew Neil

  • 31,678 Points 20k badge 2x thumb
You can use a Java lib for this like 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

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