Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 07-09-2026, 04:54 PM   #1
cheesegrater
Junior Member
cheesegrater began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jul 2026
Device: kindle basic 22
Question help with custom column

hi there! first time poster, long time lurker.
disclaimer! i'm not a programmer and actually I know nothing about it.

i'm having a problem with the creation of a new column in calibre.

basically this new custom column should search into the tags of the book files and see if a particular tag is present, if it is it should state yes in the column space.

i'm using this template:
program: test(select(field('Tags'),'[tag that I need]'),'Yes','No')
it is something I pasted from a site and I have no idea if it is correct or no

as for the column type I'm using "column built from other columns".

if someone could help me I would be very greatful. thank you in advance
cheesegrater is offline   Reply With Quote
Old 07-09-2026, 05:03 PM   #2
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 2,360
Karma: 7990245
Join Date: Sep 2020
Device: Libra Colour
Quote:
Originally Posted by cheesegrater View Post
hi there! first time poster, long time lurker.
disclaimer! i'm not a programmer and actually I know nothing about it.

i'm having a problem with the creation of a new column in calibre.

basically this new custom column should search into the tags of the book files and see if a particular tag is present, if it is it should state yes in the column space.

i'm using this template:
program: test(select(field('Tags'),'[tag that I need]'),'Yes','No')
it is something I pasted from a site and I have no idea if it is correct or no

as for the column type I'm using "column built from other columns".

if someone could help me I would be very greatful. thank you in advance

try this:

Code:
program:
    str_in_list($tags, ',', 'your_tag_here', 'Yes', 'No')
That select function applies only to identifiers fields, AFAIK
Comfy.n is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make custom column dropdown based on other column? slb Library Management 1 04-12-2026 06:32 PM
Using RE to extract pattern from custom column into another custom column activedirectory Library Management 1 12-15-2019 08:07 PM
Adding custom column with any lookup-name gives me empty column as a result? Ahu Lee Library Management 16 06-09-2019 12:14 PM
Move selected data from series column to a new custom column fvdham Library Management 3 06-02-2017 03:49 PM
Custom column returns value based on value of another custom column? calvin-c Calibre 3 09-14-2013 02:24 PM


All times are GMT -4. The time now is 09:56 AM.


MobileRead.com is a privately owned, operated and funded community.