Try our conversational search powered by Generative AI!

Scheduler job for fetching data

Vote:
 

How to create a scheduler job for fetching the product.xml data and save it in the database in Episerver programmatically. Where can I create the class file...?

#178889
May 25, 2017 10:05
Vote:
 

Hi Hareesh,

To create a scheduled job, you have to create a class that derives from ScheduledJobBase class and decorate it with ScheduledPlugIn attribute, as described on the following link: https://world.episerver.com/documentation/Items/Developers-Guide/Episerver-CMS/9/Scheduled-jobs/Scheduled-jobs/

#178892
Edited, May 25, 2017 12:15
Vote:
 

Thanks...

I have some code in product.xml...

<product>
<product_id> 1 </product_id>
<product_name> Episerver </product_name>
<product_price>$1500</product_price>
</product>

How can I create document type and where..?

#178921
May 26, 2017 10:44
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.