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 IPipe interface, perform the following procedure:
Open the FacebookEventsInboundPipe.cs file.
Add the following properties:
public
virtual
PipeSettings PipeSettings
{
get
;
set
}
string
PublishingProviderName
if
(
.IsNullOrEmpty(
this
.publishingProviderName ) )
.publishingProviderName = Config.Get<PublishingConfig>().DefaultProvider;
return
.publishingProviderName;
.publishingProviderName = value;
Name
FacebookEventsInboundPipe.PipeName;
IDefinitionField[] Definition
.definition ==
null
)
.definition = PublishingSystemFactory.GetPipeDefinitions(
.Name );
.definition;
Type PipeSettingsType
typeof
( PipeSettings );
Add the following methods:
IEnumerable<WrapperObject> GetConvertedItemsForMapping(
params
object
[] items )
throw
new
NotImplementedException();
void
Initialize( PipeSettings pipeSettings )
.PipeSettings = pipeSettings;
.publishingPoint = PublishingSystemFactory.GetPublishingPoint(
.PipeSettings.PublishingPoint );
bool
CanProcessItem(
item )
false
PipeSettings GetDefaultSettings()
PublishingSystemFactory.CreatePipeSettings(
.Name, PublishingManager.GetManager(
.PublishingProviderName ) );
GetPipeSettingsShortDescription( PipeSettings initSettings )
"Sitefinity CMS Facebook events inbound pipe."
CleanUp(
transactionName )
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