Hi,
In the RemovedRenderingReference method of the item:saved handler the id which is used for getting the layout XML is FieldIDs.LayoutField. This is the ID of the Shared Layout field.
Could you please change the event handler to use the Final Layout field (FieldIDs.FinalLayoutField)? This is the layout which is used by default in the Experience Editor.
As of Sitecore 8.1 the following method can be used Sitecore.ExperienceEditor.Utils.WebUtility.GetCurrentLayoutFieldId()
Regards,
Harro
Hi,
In the RemovedRenderingReference method of the item:saved handler the id which is used for getting the layout XML is FieldIDs.LayoutField. This is the ID of the Shared Layout field.
Could you please change the event handler to use the Final Layout field (FieldIDs.FinalLayoutField)? This is the layout which is used by default in the Experience Editor.
As of Sitecore 8.1 the following method can be used Sitecore.ExperienceEditor.Utils.WebUtility.GetCurrentLayoutFieldId()
Regards,
Harro