• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to remove a photo from a LRPublishedCollection without affecting the Publish Service?

Explorer ,
Dec 14, 2014 Dec 14, 2014

Copy link to clipboard

Copied

Hello guys!

I would like to know if there is a way to remove a photo from a LRPublishedCollection without affecting the Publish Service. Basically I would like it to be removed from the collection but I don't want to be added to "Deleted Photos to Remove".

Thanks a lot!

Jordy.

TOPICS
SDK

Views

398

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 29, 2014 Dec 29, 2014

Copy link to clipboard

Copied

LATEST

I don't know how to keep it from being put on the "Deleted Photos to Remove" list at least briefly, but if you do this, it'll amount to the same thing:

* save status for all photos in collection

* set status of all photos to "do not publish"

* remove photo from collection.

* publish the collection, and make sure you call the deleted callback, but don't do anything else.

* restore previous photo statuses.

Only works in Lr4+.

Rob

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines