View Single Post
Old 11-14-2023, 10:08 PM   #4
kjdavies
Zealot
kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.
 
Posts: 112
Karma: 53342
Join Date: Jun 2013
Device: Sony PRS-600
Quote:
Originally Posted by msel View Post
Hello,

i want to add the ID (the integer value) of a book to the cover. The lookup name is {id}. But when I add this value in a cover template I'll get an error:
EXCEPTION: Value: unknown field id

My template and the error message is attached.

Greetings, Maria
There appears to be a workaround.

Create a custom column (I called mine 'fakeid'), 'Column built from other columns', with the template '{id}'.

Then use {#fakeid} in your cover template.

I'm using calibre 6.29 in Windows 10, 'Generate Cover' plugin is current.
kjdavies is offline   Reply With Quote