1
  1. Author updates content using XPM
  2. Need to catch the event(Update Preview) in event system.
  3. I looked at the TOM.NET API document and didn't come across any event matching to Update Preview (XPM).

need assistance on this.

  • 1
    Can you explain why you have to capture that event and what you want to achieve in general? – Rick Pannekoek Mar 10 '16 at 8:23
  • need to start bundle workflow up on capturing this event with the items updated as part of XPM edit. – Renuka Prasad Mar 10 '16 at 8:47
  • why not on Item Updated (Item Saved) event? – Pankaj Gaur Mar 10 '16 at 8:50
  • yes i can use Item save for this. few doubts on the same 1. can't we differentiate XPM & CME events ? 2. Update preview might have multiple items updated and I need to put all of them in one bundle and start workflow – Renuka Prasad Mar 10 '16 at 8:56
3

There is no specific event triggered from an XPM edit, since the system just sees an item save. XPM is just another view on the UI so there are no different events triggered.

The update preview by itself is not an item event, so there is also no capture for that.

As suggested in the comments your only option is to trigger on the Item Save event. Furthermore the update preview is not responsible for multiple items being updated, the item save event of each of those items is, the update preview is just reloading your page so it is rendered with the latest data. I might be missing more details from you regarding your bundle workflow requirement, but you will have the same possibilities on an item edit from the CME, so I have a feeling you might be over complicating things by singling out XPM this way.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.