|
|
#1 |
|
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jul 2026
Device: kindle basic 22
|
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 |
|
|
|
|
|
#2 | |
|
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,360
Karma: 7990245
Join Date: Sep 2020
Device: Libra Colour
|
Quote:
try this: Code:
program:
str_in_list($tags, ',', 'your_tag_here', 'Yes', 'No')
|
|
|
|
|
| Advert | |
|
|
![]() |
|
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 |