Table of Contents

Class BatchIntegrationScheduledTaskAddin

Namespace
Dynamicweb.DataIntegration
Assembly
Dynamicweb.DataIntegration.dll
public abstract class BatchIntegrationScheduledTaskAddin : BaseScheduledTaskAddIn, IERPIntegration
Inheritance
BatchIntegrationScheduledTaskAddin
Implements
Inherited Members

Properties

LogRequestAndResponse

[AddInParameter("Log all requests and responses")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "")]
public bool LogRequestAndResponse { get; set; }

Property Value

bool

Logger

protected ILogger Logger { get; set; }

Property Value

ILogger

NotificationEmail

[AddInParameter("Notification recipient e-mail")]
[AddInParameterEditor(typeof(TextParameterEditor), "inputClass=NewUIinput;")]
public string NotificationEmail { get; set; }

Property Value

string

NotificationEmailFailureOnly

[AddInParameter("On failure only")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "")]
public bool NotificationEmailFailureOnly { get; set; }

Property Value

bool

NotificationEmailSenderEmail

[AddInParameter("Notification sender e-mail")]
[AddInParameterEditor(typeof(TextParameterEditor), "inputClass=NewUIinput;")]
public string NotificationEmailSenderEmail { get; set; }

Property Value

string

NotificationEmailSenderName

[AddInParameter("Notification e-mail sender name")]
[AddInParameterEditor(typeof(TextParameterEditor), "inputClass=NewUIinput;")]
public string NotificationEmailSenderName { get; set; }

Property Value

string

NotificationEmailSubject

[AddInParameter("Notification e-mail subject")]
[AddInParameterEditor(typeof(TextParameterEditor), "inputClass=NewUIinput;")]
public string NotificationEmailSubject { get; set; }

Property Value

string

NotificationTemplate

[AddInParameter("Notification e-mail template")]
[AddInParameterEditor(typeof(TemplateParameterEditor), "folder=Templates/DataIntegration/Notifications;FullPath=true;inputClass=NewUIinput;")]
public string NotificationTemplate { get; set; }

Property Value

string

Methods

AddFileContentToLog(List<string>)

protected void AddFileContentToLog(List<string> logFilesList)

Parameters

logFilesList List<string>

AddFileContentToLog(string)

protected void AddFileContentToLog(string fileFullPath)

Parameters

fileFullPath string

CheckAccessToDataIntegrationModule()

protected void CheckAccessToDataIntegrationModule()

ExpandValue(string)

protected string ExpandValue(string expression)

Parameters

expression string

Returns

string

GetActivitiesList()

Gets the list of activities activities from the relevant folder

public static List<string> GetActivitiesList()

Returns

List<string>

list with names of all activities set up in Dynamicweb

SendMail(string)

Send mail according to configuration

public void SendMail(string message)

Parameters

message string

error/success message

SendMail(string, MessageType)

Send mail according to configuration

public void SendMail(string message, MessageType msgtype)

Parameters

message string

error/success message

msgtype MessageType

message type

SendMail(string, MessageType, Dictionary<string, string>)

Send mail according to configuration

public void SendMail(string message, MessageType messageType, Dictionary<string, string> tagValues)

Parameters

message string

error/success message

messageType MessageType

message type

tagValues Dictionary<string, string>

Dictionary with tag name as a key and its value

SetupLogging()

protected void SetupLogging()

ValidateLicense(string)

public static void ValidateLicense(string responseText)

Parameters

responseText string

WriteTaskResultToLog(bool)

protected void WriteTaskResultToLog(bool result)

Parameters

result bool
To top