![]() |
#1 |
Member
![]() Posts: 10
Karma: 10
Join Date: Oct 2021
Device: Onyx Book
|
Help with a composite column template formula
Hi all,
I'm looking to create a composite column formula that displays common genres listed in the tags column. Using a composite column means it will always be up-to-date when new books are added, so I feel this is a better option than bulk copying tag information. Unfortunately, I have not been able to determine from help pages how to write this formula, I believe it begins {tags:... but that is as far as I can get. The values I am looking to find and display are: Action and Adventure Comedy Crime and Mystery Fantasy Horror Science Fiction Romance The column is already set up as 'behaves like tags' which I believe is necessary to achieve this but please let me know if I am mistaken. Thanks! |
![]() |
![]() |
![]() |
#2 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 61
Karma: 582370
Join Date: Apr 2023
Device: Kobo Clara 2E
|
I have a similar custom column, which uses the following:
Code:
program: list_intersection(field('tags'), 'Action and Adventure,Comedy,Crime and Mystery,Fantasy,Horror,Science Fiction,Romance', ",") |
![]() |
![]() |
![]() |
#3 |
Member
![]() Posts: 10
Karma: 10
Join Date: Oct 2021
Device: Onyx Book
|
Thank you, that works perfectly!
|
![]() |
![]() |
![]() |
Tags |
composite columns, template language |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plugboard, template, and custom composite column recipes | chaley | Library Management | 1053 | 05-28-2025 08:34 AM |
Accessing composite column template | ownedbycats | Library Management | 2 | 12-18-2022 04:56 PM |
A little help with template functions in a composite column, please! | mopkin | Library Management | 2 | 11-05-2019 11:07 PM |
Composite column template question | Anna_R | Library Management | 4 | 06-03-2015 03:59 AM |
[Custom Column - Composite] Template Help Requested | Ealdwulf | Library Management | 2 | 06-16-2012 04:58 AM |