Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 11-09-2018, 05:44 PM   #1
laszlopanaflex
Junior Member
laszlopanaflex began at the beginning.
 
laszlopanaflex's Avatar
 
Posts: 3
Karma: 10
Join Date: Nov 2018
Device: none
Set default value of a custom column

Hello again,

I am wondering if there's a way to set a default value on a custom column, so that when a new record is created the custom column automatically has the specified default value.

If it matters, the custom columns that I'd like to set default values for are "text with a fixed set of permitted values" and "yes/no".

Thank you.
laszlopanaflex is offline   Reply With Quote
Old 11-09-2018, 07:11 PM   #2
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 11,311
Karma: 10578436
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by laszlopanaflex View Post
Hello again,

I am wondering if there's a way to set a default value on a custom column, so that when a new record is created the custom column automatically has the specified default value.

If it matters, the custom columns that I'd like to set default values for are "text with a fixed set of permitted values" and "yes/no".

Thank you.
Only way I can think of is to write a File Type plugin, they run when a book is added to a library.

BR
BetterRed is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set the number of decimals in a custom column sekhemty Library Management 3 04-28-2017 10:06 AM
Set Custom Column from identify.py ahisham Development 6 02-05-2015 10:53 AM
Default Value for Custom Column (fixed set of permitted values) Andy P Calibre 1 06-21-2013 04:25 AM
Using OnDevice to set the value of a custom column WendyR14 Library Management 3 10-23-2011 09:03 PM
Setting a default value for a custom column? rangepig Calibre 2 10-11-2010 02:28 PM


All times are GMT -4. The time now is 05:15 AM.


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