Configure
This section explains how to configure the Litium Voyado Connector.
app.config
src\Litium.AddOns.VoyadoConnector\app.config contains the configuration, with instructions in the file itself. If you are making a new installation, rename the app.config.sample to app.config.
Src\Litium.AddOns.VoyadoConnector\app.config file will be copied to the acclerator MVC project bin (wwwroot/bin) as Litium.AddOns.VoyadoConnector.config.
New changes in the config file in v7.4.0 are the attributes in the channelstoreMapping node:
- channelId: Litium channel Id (Check not null)
- merchant: Voyado merchant/store name
- externalId: Voyado merchant/store ExternalId
Important: Rebuild the project after configuration changes so a new copy with latest saved information will be created in the bin folder,.
Product feeds
Generation of Product feeds need to be enabled as a scheudled task from web.config.
<scheduledTask type="Litium.AddOns.MarketingAutomation.Setup.FeedTask, Litium.AddOns.MarketingAutomation" startTime="00:00" interval="1d" parameters="maxAgeInDays=30" />
You can see the list of product feeds at http://<Your domain name>/marketingAutomationApi/Voyado/feeds
Send this list of feeds to Voyado in order to configure the tenant to download feeds.
Order stores
This need to be configured at Voyado tenant setup. The list of stores configured at Voyado must have exactly matche to the ids of your channels, this can be done in the voyado config file. Otherwise the orders API may fail with 404 not found errors.
If you have created the channels from the back-office their programatic id can be null, in this case, add code to initialize your channels with desired ids. You may use a start-up task for that.
Audit log cleanup
A scheduled task should cleanup the MarketingAutomation.AuditLog table. You need to add this task as a scheduled task to web.config. Following is an example that runs every day and cleans up log entries older than 30 days.
<scheduledTask type="Litium.AddOns.MarketingAutomation.Setup.AuditLogCleanupTask, Litium.AddOns.MarketingAutomation" startTime="00:00" interval="1d" parameters="maxAgeInDays=30" />
Going live
You may need to change the server URLs from staging to live URLs, and change the API keys. Contact Voyado regarding the going-live process.