![]() |
#1 |
Enthusiast
![]() Posts: 30
Karma: 10
Join Date: Apr 2013
Device: Kindle Touch
|
[SOLVED] Using "Build column from other column" custom-column type
Is there any documentation on how to do this? Searching for "Build" returns no hits.
I'm assuming this type is supposed to let you have a new column X be assigned a value based on the value of existing column Y. But; 1. I used a search filter "format:MOBI" to test this - column was filled with the template "format:MOBI" literal. 2. Where do you indicate what value is assigned? Say I want to assign a new Yes/No column "MOBI" to Y (checked) if the a book includes a version in MOBI format (search filter "format:MOBI") Thanks (yet) again Last edited by HFC3; 07-07-2013 at 03:24 AM. Reason: Annotate Solved |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,318
Karma: 7975240
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
That kind of column uses a template to generate it's value. There are many threads about using templates. There are calibre doc sections on the same topic, for example the template language docs.
Last edited by chaley; 07-07-2013 at 03:01 AM. Reason: fix typos caused by using a swipe keyboard |
![]() |
![]() |
Advert | |
|
![]() |
#3 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,271
Karma: 78869092
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
See http://manual.calibre-ebook.com/template_lang.html
Try this: Code:
{:'in_list(approximate_formats(), ',' , 'MOBI', 'Y', '')'} Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#4 |
Enthusiast
![]() Posts: 30
Karma: 10
Join Date: Apr 2013
Device: Kindle Touch
|
Thanks PeterT.
I wish the Calibre manual would include links to all the sub-manuals I'm finding for the "neat" features. It's hard to know they're there unless you accidentally find a link in a thread. I did try searching for this in the >F1< help, but (of course), I used search words ("build", "custom column", etc) that didn't include "template". |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom yes/no column built from long text column | Philantrop | Library Management | 7 | 03-23-2013 07:44 PM |
how to move value(s) of tag column to a custom made column | zoorakhan | Library Management | 0 | 12-08-2012 03:53 AM |
Custom column not recognized in "Sending books to devices" | cheveguerra | Devices | 4 | 12-05-2011 01:58 PM |
Custom column: "Updated date", when adding new "versions" of the same file? | enriquep | Library Management | 16 | 11-03-2011 10:46 AM |