![]() |
#1 |
Connoisseur
![]() Posts: 64
Karma: 10
Join Date: Jan 2010
Device: Onyx Boox Poke 3
|
Having problems with composite columns and save/send templates
I made two composite columns
saveseries Code:
{series}/{series_index:0>2s|| - }{title} - {authors} saveauthor Code:
{authors_sort}/{title} Code:
{series:lookup(.,saveseries,saveauthor)} When I send, they're showing up as numbers only, which I'm assuming is calibre's internal index number for the book. I'm not sure what I'm doing wrong here. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,411
Karma: 8012664
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Your send template must use the lookup names of the custom columns, which always begin with #. Example:
Code:
{series:lookup(.,#saveseries,#saveauthor)} |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Connoisseur
![]() Posts: 64
Karma: 10
Join Date: Jan 2010
Device: Onyx Boox Poke 3
|
Thanks, that looks like it worked.
I was thrown by the documentation ( https://manual.calibre-ebook.com/tem...send-templates ) Might be worth changing this section (anywhere to suggest this, as there's also an errant ' in there too)? Quote:
Code:
{series:lookup(.,AA,BB)} Code:
{series:lookup(.,#AA,#BB)} Last edited by Trel; 09-12-2016 at 01:54 PM. |
|
![]() |
![]() |
![]() |
#4 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,411
Karma: 8012664
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#5 |
Connoisseur
![]() Posts: 64
Karma: 10
Join Date: Jan 2010
Device: Onyx Boox Poke 3
|
Sweet, thank you.
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Library Closed Plugin] Save Composite Custom Columns | chaley | Plugins | 22 | 04-11-2020 07:09 AM |
composite columns only effect part of data | Jade Aislin | Library Management | 2 | 04-13-2016 04:54 PM |
Color coding and designing composite columns | ElMiko | Library Management | 12 | 01-04-2015 08:55 PM |
Composite column problem combining two tag type columns | At_Libitum | Recipes | 1 | 08-29-2013 12:31 PM |
composite custom columns sorted numerically | Doug-W | Library Management | 2 | 02-18-2011 02:16 AM |