- Author updates content using XPM
- Need to catch the event(Update Preview) in event system.
- I looked at the TOM.NET API document and didn't come across any event matching to Update Preview (XPM).
need assistance on this.
need assistance on this.
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.