Table of Contents

Class GroupProductRelationScheduledTaskAddIn

Namespace
Dynamicweb.Ecommerce.Products.ScheduledTaskAddIns
Assembly
Dynamicweb.Ecommerce.dll

Scheduled task provider GroupProductRelationScheduledTaskAddIn makes it possible to automatically assign products to one or more groups, depending on some rules which are based on some values on the product.

[AddInName("Dynamicweb.Scheduling.GroupProductRelationAddIn")]
[AddInLabel("Assign products to one or more groups, depending on some rules")]
[AddInDescription("Assign products to one or more groups, depending on some rules")]
public class GroupProductRelationScheduledTaskAddIn : BaseScheduledTaskAddIn, IParameterOptions
Inheritance
GroupProductRelationScheduledTaskAddIn
Implements
Inherited Members

Properties

AssignmentRules

[AddInLabel("Assignment rules")]
[AddInParameter("AssignmentRules")]
[AddInParameterEditor(typeof(SelectionBoxParameterEditor), "leftheader=All rules;rightheader=Selected rules;translateheaders=true;showsearchbox=true")]
public string? AssignmentRules { get; set; }

Property Value

string

DoNotDetachProducts

[AddInLabel("Don't detach products")]
[AddInParameter("DoNotDetachProducts")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "inputClass=inputControl")]
public bool DoNotDetachProducts { get; set; }

Property Value

bool

Methods

Run()

Runs task add-in

public override bool Run()

Returns

bool
To top