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 IInboundPipe interface, you must implement the ToPublishingPoint method.
To implement the ToPublishingPoint method, add the following method in file FacebookEventsInboundPipe.cs:
public
virtual
void
ToPublishingPoint()
{
var items =
new
List<PublishingSystemEventInfo>();
var wrapperObjects =
this
.LoadWrapperObjectItems();
foreach
( var item
in
wrapperObjects )
items.Add(
PublishingSystemEventInfo()
Item = item,
ItemAction = RelatedActionsConstants.PublishingPointImported,
Language = item.Language
} );
}
.PushData( items );
You call the LoadWrapperObjectItems helper method to wrap the Facebook events in WrapperObject. Then, you wrap the items inPublishingSystemEventInfo objects and call PushData.
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