Lightroom 5 SDK: catalog:getCurrentViewFilter - missing item in API doc.

  • 1
  • Problem
  • Updated 5 years ago
from the doc:

columnBrowserDesc : (table) The metadata to consider, in this format: { { criteria = metadataName }, ... }.

should be:

columnBrowserDesc : (table) The metadata to consider, in this format: { { criteria = metadataName, selections=itemsSelected }, ... }.

In other words, columns include criteria + selections, not just criteria.

Work-around for this and others like it: use John Ellis' Debug.lognpp( catalog:getCurrentViewFilter() ) or equivalent to see what an object is really made of.

Rob
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 382 Reply Likes

Posted 5 years ago

  • 1

Be the first to post a reply!