C# Class Dynamite.Example.ContentOrganizer.ContentOrganizer.Routers.MyRouter1

Example router for content organizer Behavior: - Add the index date to the currently processed item if it matches a rule. - If the file name contains "Error" token, display an error message and save the file in the drop off library with a new name.
Inheritance: MyCommonRouter
Show file Open project: GSoft-SharePoint/Dynamite-2010-Example-ContentOrganizer

Public Methods

Method Description
OnSubmitFile ( EcmDocumentRoutingWeb contentOrganizerWeb, string recordSeries, string userName, Stream fileContent, Microsoft.SharePoint.RecordsRepositoryProperty properties, SPFolder finalFolder, string &resultDetails ) : CustomRouterResult

OnSubmitFile method for the content organizer

Method Details

OnSubmitFile() public method

OnSubmitFile method for the content organizer
public OnSubmitFile ( EcmDocumentRoutingWeb contentOrganizerWeb, string recordSeries, string userName, Stream fileContent, Microsoft.SharePoint.RecordsRepositoryProperty properties, SPFolder finalFolder, string &resultDetails ) : CustomRouterResult
contentOrganizerWeb EcmDocumentRoutingWeb The web.
recordSeries string Record series.
userName string Submitting user name.
fileContent Stream File content.
properties Microsoft.SharePoint.RecordsRepositoryProperty File properties.
finalFolder SPFolder The final folder.
resultDetails string Result processing details.
return CustomRouterResult