INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Default Values for Library fields  (Read 1350 times)

wburkett

  • World Citizen
  • ***
  • Posts: 109
Default Values for Library fields
« on: February 15, 2016, 02:33:06 pm »

Is there any way to specify default values for Library fields?  For example, I created a field called "Live" for live music and would like the value of that field to default to "No".  Any way to do this?

Bill
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Default Values for Library fields
« Reply #1 on: February 15, 2016, 03:00:11 pm »

Not directly.  Fields with no value always initialize blank (0 for numeric fields).

You can, however, tag new files automatically at import time, and set your own default that way:
http://wiki.jriver.com/index.php/Tag_on_Import

In your case, though, it would probably be better to use an Integer type field, where 0 is false and 1 (or greater) is True.  You can set the Edit Type to Check and it'll display with a nice checkbox in MC.  Since numeric fields initialize to zero, you won't have to do anything to get them to come in "false".

That's usually the best bet, whenever possible.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

wburkett

  • World Citizen
  • ***
  • Posts: 109
Re: Default Values for Library fields
« Reply #2 on: February 15, 2016, 10:07:02 pm »

Thanks, glynor -- I'll look into that.

Bill
Logged
Pages: [1]   Go Up