In LR Classic's SDK, add ability to distinguish Saved Print and Saved Book collections.

  • 2
  • Idea
  • Updated 1 month ago
Want to be able to search for Saved Print and Saved Book collections with, perhaps, even a way of gathering Saved Prints and/or Saved Books in Smart Collections.
Photo of SamC

SamC

  • 19 Posts
  • 7 Reply Likes

Posted 1 month ago

  • 2
Photo of John R. Ellis

John R. Ellis, Champion

  • 5165 Posts
  • 1476 Reply Likes
To build on this: The LR UI provides no way to search for saved prints and books. The SDK provides no facilities for plugins to do this either.

collectionSet:getChildCollections() doesn't return saved print or book collections.

catalog:getActiveSources() returns {} when the current source is a saved print or book.

The only way for a plugin to get a saved print or book collection is to call photo:getContainedCollections() on a photo in that collection. But...

LrCollection provides no method for distinguishing print and book collections from regular collections.