[Vobject] How do you add multiple "type_param"
tames at tamerz.com
Wed Oct 26 01:01:26 CDT 2016
I apologize, I missed you had "paramlist" instead of "param", however
it gives the same results.
On Wed, Oct 26, 2016 at 8:59 AM, Tames McTigue <tames at tamerz.com> wrote:
> Hi Adam,
> That is what I tried when I say I used a list but it doesn't work:
> email.type_param = ['INTERNET', 'WORK', 'pref']
> EMAIL;TYPE=INTERNET,WORK,pref:johnDoe at example.org
> It is missing the "TYPE=" for each one.
> - Tames
> On Tue, Oct 25, 2016 at 6:35 PM, Adam Tauno Williams
> <awilliam at opengroupware.us> wrote:
>> On Tue, 2016-10-25 at 16:52 +0300, Tames McTigue wrote:
>>> I'm trying to create a card where the email address has this type of
>>> EMAIL;type=INTERNET;type=WORK;type=pref:johnDoe at example.org
>>> I see how to add a type from the example, such as "INTERNET", but not
>>> how to add three types. I tried using a list but that doesn't work,
>>> it just puts a comma between each value.
>> Try email.type_paramlist = [kind1, kind2, kind3, ]
>> Adam Tauno Williams <mailto:awilliam at whitemice.org> GPG D95ED383
>> OpenGroupware Developer <http://www.opengroupware.us/>
>> VObject mailing list
>> VObject at lists.skyhouseconsulting.com
More information about the VObject