Metadata Plugin Schema got you down?
The Lightroom SDK covers the basics of creating a Metadata Plugin quite well. Detailed examples and explanations abound. I got a basic plugin going quickly and then went on to add new features to it. Two things I noticed I could add to the fields were
searchable=true,
browsable=true,
So I added searchable=true and then restarted Lightroom. Yes I know I can just reload the plugin, but sometimes restarting can rule out silly issues that may arise. All was well, or was it?
When I enabled the plugin I got a message I simply did not understand. It referred to a change in schema, with an increment in field version number needed to correct it. I had no idea what to do.. I tried expanding the schemaVersion code section and incrementing the schemaVersion. No joy. In the end I rang John Beardsworth. We’d been chinwagging online about Lua and the SDK and I figured he might be able to direct me. He was. It was all quite simple really. Each field you create also needs to have a ‘version=x.x’ line, which must be incremented when you change the properties of the field.
Obviously I got this all sorted, because lots of you are downloading LRB Releases. No reflection on the SDK writers as versioning is mentioned in the SDK (page 55 to be precise). It’s marked as optional, but if you are making changes to the field, then you need to use it.
Get all outdoorsy with Pentax's Optio WG2 and WG2-GPS
Canon's complement of compacts
How to use a grey card
We’re All Bozos On This Bus--The Red Bus to Hell
Nikon PB4 Bellows Reborn
Worlds Fastest Camera
The New Sony NEX 7
Photojojo iPhone Telephoto Lens review — AudioCast
Photo Accessories that Fail Security Checks
My week with Q
Studio equipment buying guide for beginners
VSCO Film Studio Review
Lessons in Lighting
The russellgraves.com Photo Minute - Truck Blinds
Photographing Children in the wedding party
Cattle Country
Creative Photo Valentine Surprise
How to Use Multiple Lights for Dramatic Portraits
Making your own flash diffuser
LR4 free presets: Faded series
Using Sync for Video in Develop
A gift of flowers: unfold your senses
On Set of "Love & Robots" the Film
My Night with Ilford Galerie Gold Silk Fibre
FOTOMOTO - Why I Left











Silhouettes & Photo Contests
Cyan, not just another color
Our 26 best photo projects of 2011
Family Ties That Bind
Animal Group Portraits
A Brief History Of Light & Photography: Part 3 of 3
A Brief History Of Light & Photography: Part 2 Of 3
Lightroom Interview: Kevin Tieskoetter
Always Dream Big
Gallery: Embedded with the Territorial Army
Getty Villa Malibu — 4 Old Faces, 1 Sunken Garden — GALLERY (6 photos)
Wildlife photography for the masses
The 110 page guide to post-processing
How much should you charge for a photograph?
Santa Pictures + Marketing for your Business

































Comments
Post new comment