Developer forum

Forum » Integration » batch integration - delete imported addresses only

batch integration - delete imported addresses only

Umar Farooq
Reply

Hi,

We have batch integration job which is importing users and addresses from NAV. but its also possible from the frontend that end user can  add thier own addresses which are not synced with NAV. I know there is a setting to delete the addresses  "Remove missing adresses" but this will also delete the addresses created from the frontend during batch import job. So is there any way to prevent that so it only deletes the imported address which are not available in the xml and keep the addresses created from the frontend?

 

BR, Umar 


Replies

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply
This post has been marked as an answer

Hi Umar,
try to make a maual mapping Data integration job to import addresses and add a condition for the AccessUserAdressUID column to be not empty like that:

Then it should not delete the addresses where the AccessUserAddressUID is empty (the case when the address is created on frontend)
and other addresses coming from NAV have this column value being not empty.
BR, Dmitrij

Votes for this answer: 1

 

You must be logged in to post in the forum