Developer forum

Forum » Feature requests » Dynamicweb import

Dynamicweb import

Anders Ebdrup
Reply

Hi Dw,

 

When importing products with the Dynamicwebprovider I am missing that the field "ProductCreated" is set in "EcomProducts" and at the same time it would be nice to have the field "ProductUpdated" set efter the import

 

Best regards, Anders


Replies

 
Morten Snedker
Reply
This post has been marked as an answer

Hi Anders,

I see your point of view. I agree with the idea, but not the approach:

I don't believe in messing up the Dynamicweb Provider with Ecom logic, as we have the Ecom Provider. But I'm not blind to the fact that the Dynamicweb Provider still will be used for importing to Ecom, given the better performance. 

So, I believe the proper way to go is

  1. ProductCreated: On table level change Default Value or Binding for ProductCreated to GETDATE(). (Feature request 14841 is created to get this to our default empty database).
     
  2. ProductUpdated:
    • Short term: include updated date in import source
    • Long term: we will improve the scripting so that fx GETDATE() can be scripted as value to the column in the job.

Let me have a comment on the above.

 

Regards /Snedker

Votes for this answer: 1
 
Anders Ebdrup
Reply

Hi Morten,

 

Thank sounds very reasonable - thank your for input! smiley

 

Best regards, Anders