Developer forum

Forum » Integration » Often, partial updates of product details with NAV

Often, partial updates of product details with NAV

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

We have a request from one of our customers to run often updates of products on a solution integrated with NAV.

The database has about +15k products and the update is supposed to update some information on existing products.

The NAV partner can expose an endpoint containing only the products that need updating.

The requirement is to run this update every 10 minutes.

Is there any way we can also trigger partial updates of the index? In order to avoid running the entire index every 10 minutes? Something similar to what DW is doing when a product is updated from the interface?

What would be the recommended/supported implementation of this request?

Thank you,
Adrian


Replies

 
Nicolai Pedersen
Reply

Hi Adrian

Create a build that uses "Update" in build action:

https://doc.dynamicweb.com/documentation-9/indexing/indexing-search/indexes#sideNavTitle1-2

Then set hours to update to 1. Maybe you can set the value to 0.25.

Then all products that has been modified in the past hour (or 15 minutes) based on the updated timestamp will be reindexed (remember to set timestamp when importing). Then create a task that runs every 10 minutes.

BR Nicolai

Capture.JPG
 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Nicolai,

Thank you. It sounds clear enough.

Adrian

 

You must be logged in to post in the forum