How to "undo" a photo that is marked for deletion

Hi,
two more little question for the publishing service:
When I delete a photo from a published collection it becomes part of "Deleted Photos to Remove" (until I haven't pressed the publish button). But how can I remove the photo from this section again (call it "undo")? E.g. for that case that the user has noticed that the photo shall not be removed...
Another question is: there is the method "deletePhotosFromPublishedCollection". Now for example the webservice returns an error e.g. that the image could not be removed from the server. That's fine, but in this case I also wouldn't remove the image from my publication service and would like to stop that
deletePhotosFromPublishedCollection function without calling the "deletedCallback( photoId )".
So is there a way to end the deletePhotosFromPublishedCollection function without any action (and/or excpetion)?
Thanks,
Lars

Dear Hagen and Dravik,
I have made a few discoveries after careful observation of the deletePhotosFromPublishedCollection method:
1. The method will not be called after you remove a photo from a publishedCollection. The photo will be merely placed under the Photos to remove section of the publishedCollection. The actual invocation of the method will occur after you pressed the publish button. apparently Publish button will do: (1) Remove any photo mark for removal; (2) Publish any photo marked for publication.
2. After you mistakenly mark a published photos for removal, there is no way to change the status back to published or at least republish. which I think the desired behavior. At least here you should be able to take a last look at the photo and decide your final action as what to do to the photo. I am guessing that this is the buggy behavior Dravik was talking about. Because of the bug, you have to remove the photo from publication and add them again after the whole process ended. If you have a lot of photos and slow Internet, I suggest you decide before you press remove.
3. Within the method deletePhotosFromPublishedCollection you only have limited information to work with as follows...
a. publishSettings
(table) The settings for this publish  service, as specified by the  user in the Publish Manager dialog. Any changes that you make in this  table do not persist beyond the scope of this function call.
b. arrayOfPhotoIds
(table) The remote photo IDs that were  declared by this plug-in  when they were published.
c.  deletedCallback
(function) This  function must be called for each photo ID as soon  as the deletion is confirmed by the remote service. It takes a single  argument: the photo ID from the arrayOfPhotoIds array.
I for one would love to know the publishedCollection this function if refering to. It is common sense I guess. A more comprehensive parameters like in the processRenderedPhotos would be more beneficial and give better control to the plugin developer to control plugin behavior during deletion or removal of photos. Especially for cleaning up plugin specific metadata. I have look at numerous plugin that leave their custom metadata uncleaned. Even after I totally remove their plugin from my system.
That is all for now..
Just to add... Funny... guess what.. if you mark a photo for removal in published collection.. you can press Ctrl+Z or Menu "Edit"->"Undo" you can reset the remove from collection action... : which the context menu cannot do...hope this help...

Similar Messages

  • How to reset OpenLDAP service that was marked for deletion

    Hi,
    I installed the Shared Services, Essbase and Planning in my PC. After installing it, I went to services screen. I found that OpenLDAP service was in 'Started' and 'Disabled' status. When I try to change the status of the service from 'Disabled' to 'Automatic' or 'Manual', I am getting an error 'The specified service has been marked for deletion'. If I tried to stop the service, the service is vanishing from services list. I am consistently facing this issue even if I tried to reinstall all the modules. Can any one tell me how can I resolve this issue?
    Thanks in advance,
    Chandu

    Hi,
    I take it that after it has been marked for deletion and you reboot then the service is removed?
    I am not sure what version you are on but for 9.3.1 to create the OpenLdap service again,
    open a cmd prompt to directory
    *\Hyperion\SharedServices\9.3.1\openLDAP*
    and type :-
    slapd.exe install OpenLDAP-slapd "Hyperion S9 OpenLDAP"
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How can I unmark photos which are marked for republish to Flickr?

    I am currently using Lightroom 3 to publish photos to Flickr. I have a free Flickr account.
    My problem is that I have a set of photos I am publishing to flickr. For some reason some of my photos lost their keywords, only the files on my computer lost them, the photos on Flickr still have the keywords intact. Also I applied a colour code to a couple of the photos on my hard disk that are being published to Flickr.
    Now Lightroom has detected these changes and the photos appear under 'Modified Photos to repblish' the thing is the changes I made were either putting keywords back in that were already in Flickr anyway, and colour coding which makes no different to flickr. Because I have a free account if I republish the photos I will lose all the comments and stats on Flickr, so I don't want to republish them.
    Whenever I click the publish button I get a warning that republishing the changed photos will lose any information on flickr and I have the option to skip them, and just publish new photos. But if I ever do want to republish a photo I won't be able to do this without also republishing all the photos marked for republish.
    Is there any way I can remove these photos from the republish list?

    All,
    This is an issue with the LR programming, as it does NOT allow you to unmark images it feels need to be republished. Oftentimes it's only a matter of adding a keyword or tweaking the develop settings that triggers this. I for one wish that choice was available.
    Here's what you can do: simply disconnect from the Flickr service. Doing so will have NO detrimental effect on the images in Lightroom or the images you have already uploaded to Flickr. What you will lose, however, is the "library" of images that you have already uploaded to Flickr. Since this is really only a collection there's no harm. Besides, if you need to review which of your images have been uploaded to Flickr at a later time, just reference Flickr. Oh, you'll also lose Lightroom's ability to download any comments your Flickr contacts make on your uploaded images. If it's important for you have that data in Lightroom, rethink the disconnect option. After disconnecting, reconnect using the same parameters you had before. Your Lightroom/Flicker collection will be cleared of all previously uploaded images and you can begin adding new images to upload.
    Again, disconnecting has no effect on your Flickr content. However, if you REMOVE images from the collection using Lightroom, they will also be removed from Flickr. Please understand the distinction between disconnecting from the Service and removal of images using Lightroom.
    All that being said, republishing images from Lightroom to Flickr, in my experience, should not cost you anything in terms of number of views, favorites, comments, etc. It should be seamless.
    Judson Rhodes, Photographer
    www.flickr.com/jrcp/show
    www.judsonr.com
    Date: Tue, 29 Mar 2011 09:43:18 -0600
    From: [email protected]
    To: [email protected]
    Subject: How can I unmark photos which are marked for republish to Flickr?
    Hi,
    I'm using LR 3.2 and am having the same issue. I see that no one from Adobe has replied to this and that the previous reply was from August, 2010. There seem to be no answers to this one...
    I have several images that LR feels should be republished, and ONE image that I want to republish. I CAN'T republish just that one image though without republishing ALL the other images.
    Can someone (maybe someone from Adobe) help me with this? How can I simply UNmark the other images to not be republished? I do not want to remove them from the collection, but simply do not want to republish them at this time.
    Why can't Adobe simply ask us if an image should be republished or not? Why can't they allow us to UNmark an image to be republished once it's marked?
    Ideas??  HELP!
    Thanks!
    Steve
    >

  • Where did i find users that are marked for deletion ?

    Hi,
    Experts,
    As i want to check that the users present in table USR02 are marked for deletion or not? can u please suggest me soon on this.
    Thank u in advance,
    Shabeer Ahmed

    Deleted users list in SRM server

  • HOW TO BLOCK THE PURCHASE ORDER AND MARK FOR DELETION ?

    Hi ,
                        During the Creation of the Purchase order in the SAP System... After creation of the Purchase order should be blocked and a work item is created for the approver. If the Approver approves the Order then the Order is Unblocked and a mail send to the initiators inbox and the Order is Released. Similarly if the Approver Rejects the Purchase Order then its set for Mark for Deletion.
    I did Po creation and release part. But i am facing problem during the Blocking & Unblocking the Purchase order. If he rejects i need to set for "Mark For Deletion". plz help me to solve this...

    Hi,
    You can use bapi 'BAPI_PO_CHANGE' to change the status of PO and for release use bapi BAPI_PO_RELEASE.
    Hope this will help you.
    Smit

  • GL Codes Marked for Deletion - Segregation

    Hi,
    The users have some GL Codes that are in the Chart of Accounts but have been marked for deletion. The users now want these GL Codes to be segregated from the normal ones being used, by using a prefix such as "Z" or "X". Is it possible to do so and how can this be done?
    Thanks in advance.
    Your help would be highly appreciated.
    Regards

    Hi,
    You may use Tcode MASS for mass change of the GL account
    Putting the special character on the start of the GL account code cannot be done since you that portion cannot be edited
    You may use table SKA1 to generate all the GL account that is marked for deletion.
    Hope this helps you.
    Thanks,
    Rod

  • Vendor - MArk for Deletion at Comp code & Pur Org Level

    Hi Gurus
    I want a list of vendors (about 150 Vendor)  to be  Marked for Deletion at Comp code & Pur Org Level  
    How to proceed ?

    hi,
    To be able to archive, you must set the deletion flag in the master record. You can set this flag for a complete vendor or for individual company codes or purchasing organizations.
    You can archive data from different tables using the archiving object FI_ACCPAYB...
    Mark a vendor for deletion centrally as follows:
    Choose Master records ->Maintain centrally -->Mark for deletion.
    The initial screen appears.
    Enter the vendor account number and, if you wish, the company code and a purchasing organization.
    If you do not specify the key for a purchasing organization, you cannot delete this area at a later date, should you wish to.
    Select ENTER .
    The screen for specifying data for deletion appears.
    Select data to mark for deletion by clicking next to the appropriate field.
    Save your entries by choosing Vendor ->Save.
    The system displays the initial screen, with a message confirming that the data has been saved.
    Mark a vendor master record for deletion for the Accounting Department as follows:
    Choose Master records -> Mark for deletion.
    The system displays the initial screen.
    Enter the vendor's account number and the company code.
    Select ENTER .
    The system displays the screen for selecting areas to mark for deletion.
    Select the data either in the company code or in all areas to mark for deletion.
    If you click next to the All areas field, the system will later delete all data for all company codes and for all purchasing areas in this vendor master record.
    Save your entries by choosing Vendor -> Save.
    After you mark a vendor master record for deletion, you can still post to the vendor account. This is necessary, since you might still need to clear open items. When you post, the system issues a warning that you are posting to an account that is marked for deletion.
    Displaying Archived Vendor Master Data
    To display single documents for the archiving object FI_ACCPAYB using Archive Information System you require an information structure that has been created based on one of the following standard field catalogs provided by SAP:
    ●     SAP_FI_ACCPAY_1 (vendor master data FI)
    ●     SAP_FIACCPAY_2 (vendor master data SD)
    Each information structure must be active and filled.
    Edited by: Priyanka Paltanwale on Aug 21, 2008 9:09 AM

  • Where is stored? - Maintenance plan marked for deletion.

    Hi all in wich table is stored that a maintenance plan is fixed to delete? I can not see in table mpla ... and i don't know how toi check if the plan is marked for deletion.
    Anybody know in wich table and field is this indicator stored?
    Thanks in advance!!!

    hi Miquel,
    this is a bit tricky: the information is in table JEST (statuses).
    MPLA-OBJNR = JEST-OBJNR
    there should a status for deletion, pls. note there are system statuses and user statuses.
    hope this helps
    ec

  • Determine if Object is Marked For Deletion

    Hello,
    How can I determine if an object is marked for deletion in a UnitOfWork? Is there a UnitOfWork method I can use to determine this?
    I am querying for an object that may have been deleted in the current UnitOfWork. I am trying to avoid conforming the results of the query so I can avoid hitting the database, but I must make sure I don't find objects that are marked for deletion.
    Any suggestions are appreciated.

    The UnitOfWork interface currently lacks a method available on the concrete implementation. The UnitOfWork.isObjectDeleted(object) will return true if the object has been passed into UnitOfWork.deleteObject(object). It will not include objects that are being automatically deleted at commit due to them being removed from privately-owned relationships.
    For 9.0.4.x I would have to recommend using:
    ((oracle.toplink.publicinterface.UnitOfWork) uow).isObjectDeleted(empWC)
    Beyond 9.0.4 we will have this method added to the interface so that you will not need to cast to the implementation class.
    Doug

  • Purchasing Info Record marked for deletion

    Hi experts,
    I need some explanation on Purchasing Info Records and more precisely on the deleted ones.
    Could you tell me why a Purch. Info Record that is marked for deletion is still set when a PO is created?
    In ME13 I have the following warning message : 06-718 (Purchasing info record & & & & flagged for deletion).
    In ME21N the same message is displayed as warning and users are able to save the PO with the deleted Info Record.
    I don't understand why SAP still retrieves Info Records that are marked for deletion...
    Is there a way to prevent SAP from using deleted info records?
    Thank you for your help.
    Regards,
    Philippe

    Hi Philippe,
    The message  06718 can be set as an error or warning in customising.
    If message 06718 is set as error then system will not allow to save 
    the document with that info record.
    The deletion indicator is the reservation to delete this record. But
    this is not comparable with the deletion of the record from the database
    This has to be done within the archiving run for the object MM_EINA.
    Untill this inforecord is not archived the data is taken as usual."
    Online documentation provides the following information
    "You cannot delete obsolete info records immediately. You can
    only flag them for subsequent deletion. Info records earmarked for
    deletion in this way are not actually deleted until the archiving
    program is run. This is done at regular intervals by your system
    administrator. You can flag an individual info record for deletion,
    or create a list of deletion proposals and choose the relevant records
    that are to be deleted from this list."
    Kind regards,
    Lorraine

  • How do I unblock photos that I mistakenly blocked?

    How do I unblock photos that I mistakenly blocked?

    See also http://kb.mozillazine.org/Images_or_animations_do_not_load
    You can see the permissions for the domain in the current tab in Tools > Page Info > Permissions<br />
    Some websites may load images from a different domain and in that case you need to check in Tools > Page Info > Media which images are blocked and remove the check-mark from "Block Images from..." after selecting a grayed image.

  • How can I find photos that are not assigned to any collection?

    Hi !
    I'm using LR 5.7.1 on a Mac.
    When I've retouched raw pictures with PS CC (and do not need the PSD file any longer) I export the PSD (that is in my catalog) as JPG and let it add to my catalog automatically. After that I delete the PSD file. That works fine.
    But .... the new JPG file is not assigned to any collection. That's no problem unless I forget to do it manually after that export (and import).
    That brings me to my question.
    How can I find photos that are not assigned to any collection?
    I tried it with a smart collection after I found nothing suitable in library filter. The search criteria I tried are Source -> Collection with any of the conditions. One with an empty value field, then with just a space and so on.
    Has anybody a good hint for me?
    Thomas

    You can also add numbers if you have collections that don't use alphabet characters.

  • I have started a photo book in iPhoto (OS 10.7.5). How can I add photos that were not in the original album?

    I have started a photo book in iPhoto (OS 10.7.5). How can I add photos that were not in the original album?

    Thanks for your quick response. I thought I had tried that but I must not have because it worked perfectly.

  • How do I save photos that have been synced to my Ipad2, so that they do not get deleted when I sync with a different photo file on my computer.

    How do I save photos that have been synced to my Ipad2, so that they do not get deleted when I sync with a different photo foder on my computer (Pc win7).

    Place that first folder of photos that you synced to the iPad within the main folder of photos that you sync from and select them to sync again. You can place any number of subfolders within the main folder that you sync from and select those folders to sync. Just "tick"(select) the folders in the photos tab in iTunes.
    iOS and iPod: Syncing photos using iTunes

  • How can I recover photos that were deleted from Iphone.  Photos were streamed to icloud

    How can I recover photos that were deleted from iphone.  Photos were streamed to icloud. 

    Are they on your computer now?

Maybe you are looking for