Thread
:
Unicode & mi.set_user_metadata('#customxxx', custcol)
View Single Post
07-23-2014, 07:20 AM
#
2
kovidgoyal
creator of calibre
Posts: 45,418
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
If your custom column stores multiple values like tags, you need to set the value to a list of values not a string.
And if you want to set the value of a field, use set() not set_user_metadata(). Like this:
mi.set('#custcol', ['value1', 'value2'])
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS