AI OnAI Off
Hi,
For the scheduled job, you need to create a class inherit from JobBase (EPiServer.BaseLibrary.Scheduling), which you need to override at least the Excecute() method. Example:
[ScheduledPlugIn(
DisplayName = "Full Search Index Job",
Description = "This job indexes full",
LanguagePath = "/Commerce/scheduledjobs/fullsearchindexjob")]
public class FullSearchIndexJob : JobBase
{
public override string Execute()
///
}
After that the scheduled job will appear in CMS/Admin/Scheduled jobs, which you can settings the run time.
I'm not sure about your second question?
/Q
Hello,
I'm looking for help on how I can import users from a CRM into Episerver Commerce as new customers, I believe I can map the relevant fields to the new data, but I need to know how I can create a scheduled job and how I go about looping through the CRM dataset and adding them into Episerver.
Any help would be greatly appreciated.
Thanks
Paul