View Single Post
Old 10-29-2023, 06:17 PM   #963
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,358
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by strolego View Post
I've tried
New Column -> Biblioteca (i.e. Library in italian)
Default Value -> {program:current_library_name()}

I've also tried with {program:'current_library_name()'}
but without success
I see two problems:
  1. Default values can't be templates. Templates are used only in "Columns built from other columns" and not as default values.
  2. General Program Mode templates don't use {} characters. Use
    Code:
    program:current_library_name()
    Alternatively use Template Program Mode (TPM). Something like this:
    Code:
    {:'current_library_name()'}
    If you wish you could use this TPM template in the save template:
    Code:
    {:'current_library_name()'}/{authors}/{title}
chaley is offline   Reply With Quote