Try our conversational search powered by Generative AI!

Importing of Customer Contact

Vote:
 

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

#80426
Jan 22, 2014 17:52
Vote:
 

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

 

#80469
Jan 23, 2014 11:27
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.