So now you have committed the new identifier stuff, would I be correct in saying that the correct way to display one of the new identifiers in a custom column is to use a program template and do something like:
Code:
name:GoodreadsId
def evaluate(self, formatter, kwargs, mi, locals, val):
return mi.get_identifiers().get('goodreads_id','')
and then in my custom column I do this:
{'':GoodreadsId()}
Or is there a better way?
EDIT: I suppose this would improve things:
Code:
name:Identifier
def evaluate(self, formatter, kwargs, mi, locals, val):
return mi.get_identifiers().get(val,'')
and then in my custom column I do this:
program: Identifier('isbn')