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 11-09-2018, 04: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, 06:11 PM   #2
BetterRed
null operator (he/him)
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: 20,570
Karma: 26954694
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
Old 12-01-2018, 02:54 PM   #3
ralfpeter
Member
ralfpeter began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Nov 2018
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.
Looking for this feature as well. So I could default Read column to No.
ralfpeter is offline   Reply With Quote
Reply


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 09:06 AM
Set Custom Column from identify.py ahisham Development 6 02-05-2015 09:53 AM
Default Value for Custom Column (fixed set of permitted values) Andy P Calibre 1 06-21-2013 03:25 AM
Using OnDevice to set the value of a custom column WendyR14 Library Management 3 10-23-2011 08:03 PM
Setting a default value for a custom column? rangepig Calibre 2 10-11-2010 01:28 PM


All times are GMT -4. The time now is 12:44 AM.


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