Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Ecommerce - Currency Exchange Tables - Integrating with external service to auto update View modes: 
User avatar
Member
Member
Carly Lyddiard - 8/17/2009 7:50:02 PM
   
Ecommerce - Currency Exchange Tables - Integrating with external service to auto update
Hi guys,

I was wondering if anyone has had experience or has any suggestions on setting up an auto-update of the currency exchange tables from an external source (e.g. a web service or feed such as XE).

Is this something I need to write from scratch, maybe as a scheduled task? Or is there something in Kentico that can make this simpler? Any warnings or traps for young players?

I *thought* I read an article about someone doing this sort of thing once before, but I can't find it at the moment.

Thanks in advance!

Carly

User avatar
Member
Member
kentico_pavelk - 8/25/2009 8:13:43 AM
   
RE:Ecommerce - Currency Exchange Tables - Integrating with external service to auto update
Hi Carly,

You can create a scheduled task that gets current exchange rates and then updates the records in the database. You can inspire yourself with btnOK_Click method in <your project>\CMSModules\Ecommerce\Tools\Configuration\ExchangeRates\ExchangeTable_Edit.aspx.cs file.


Best Regards,
Pavel Knotek