Class DeployDataItemsFromFolderAddIn
- Namespace
- Dynamicweb.Deployment.DataItemProviders
- Assembly
- Dynamicweb.Core.dll
[AddInName("Dynamicweb.Tracking.ProcessorScheduledTaskAddIn")]
[AddInLabel("Deploy data items from upload folder")]
public class DeployDataItemsFromFolderAddIn : BaseScheduledTaskAddIn
- Inheritance
-
DeployDataItemsFromFolderAddIn
- Inherited Members
Properties
NotificationEmail
[AddInParameter("NotificationEmail")]
[AddInLabel("Notification email")]
[AddInParameterEditor(typeof(TextParameterEditor), "NewGUI=true", InfoText = "email address to report on failures")]
public string NotificationEmail { get; set; }
Property Value
UploadFolder
[AddInParameter("UploadFolder")]
[AddInLabel("Upload folder")]
[AddInParameterEditor(typeof(FolderSelectEditor), "")]
public string UploadFolder { get; set; }
Property Value
Methods
Run()
Performs the work of the scheduled task. Called once per task run, after the framework has populated the context properties and loaded the saved parameter values.
public override bool Run()
Returns
- bool
truewhen the work succeeded; otherwisefalse. The value is logged and stored as the task's last result. Exceptions that escape this method are caught by the framework, logged, and recorded as a failed run.