Lightroom SDK: catalog:set/getPropertyForPlugin does not work

  • 3
  • Problem
  • Updated 7 years ago
  • Not a Problem
Lightroom SDK: catalog:set/getPropertyForPlugin does not work - I dont think it ever has. Please either make it work, or remove from documentation.

Note: photo:set/getPropertyForPlugin *does* work.
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 382 Reply Likes

Posted 7 years ago

  • 3
Photo of Paul Kleczka

Paul Kleczka, Employee

  • 44 Posts
  • 5 Reply Likes
Hi Rob-

These catalog API's seem to be working just fine for me. Can you provide a little more context and possibly a sample plug-in so I can see if I can reproduce? Are the API's causing an error, simply not setting the properties or not working in some other manner?

Thanks,

-paul
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 382 Reply Likes
Works fine for me too (I apologize for not rechecking before filing this report - I assumed it had not been fixed (I did recheck after at least one Lr3.X dot release, if I remember correctly). In any case, many of us could not get this to work before (as evidenced by fairly lengthy thread in SDK forum).

OK to delete or mark "solved".
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 382 Reply Likes
This was working for me, then it stopped, then I got it working again by using full write-access, instead of just private write access. It acts like it works with private write access, and I'd swear sometimes it even does (did?), but it's not reliable - with full write-access it seems to be OK again.

In any case, I think its supposed to throw an error if private write access isn't enough, and the documentation should be amended to indicate full write access required. If its really supposed to work with just private write access, then I'd say there's a bug in it.
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 382 Reply Likes
I had used this in another plugin, and had thoroughly validated it was working with private write access. Then, it completely stopped working. I fixed this one too by changing to full write access.

Summary:
-------------
catalog:setPropertyForPlugin has the potential to work with only private write access, as suggested by the documentation (unless I'm really losing it...), but is definitely not reliable without full write access.

Assuming it stays reliable with the full write access - perhaps touch up the documentation for next release, and throw error when access privilege is insufficient.
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 382 Reply Likes
This topic can be deleted, as this one http://feedback.photoshop.com/photosh...
can take its place.