IMPORTANT: This version of Sitefinity CMS is out of support and the respective product documentation is no longer maintained and can be outdated. Use the version selector to view a supported product version.
To implement the IPushPipe interface, add the following method in XmlInboundPipe.cs:
public
virtual
void
PushData(IList<PublishingSystemEventInfo> items)
{
var wrapperObjects = items.Select(i =>
var item = i.Item;
return
(item
is
WrapperObject) ? (WrapperObject)item :
new
WrapperObject(item) { MappingSettings =
this
.PipeSettings.Mappings, Language = i.Language };
}).ToList();
.publishingPoint.RemoveItems(wrapperObjects);
.publishingPoint.AddItems(wrapperObjects);
}
You must implement the PushData method. First, you wrap all objects. Then, you push the data to the publishing point.
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important