Developer forum

Forum » Integration » Update user with imported data

Update user with imported data

Justin Sjouw Dynamicweb Employee
Justin Sjouw
Reply

Hello,

I'm trying to achieve a scenario where a user can register himself via the frontend with the extranet app, and when the user is added to NAV the data should be updated with the correct customer ID.

User registration via the extranet app works, and the user is created. However when I run the Customer import from Nav:

-A new user is created and the user that was created with the extranet app is set to inactive

-The data integration job shows errors trying to match the user adresses

I have set the Key to the AccessUserUsername:

Am I approaching this incorrectly?

Thanks,

Justin

 

 


Replies

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

Hi Justin,
that is probably not possible. You can try to split the job into two jobs: one for import users and second to import addresses. The problem is that importing addresses requires other 
User key field. Now the "AccessUserAddressUserID" is mapped to contact Number so it has no relation to AccessUserUserName column.
Try to make a second job to import addresses with User key column set to "AccessUserExternalId", then the addresses will match the users with the appropriate external ids.

The imported users probably don't match the existing users, thats why your existing users are set to in-active, you need to check if their AccessUserUserName values match both
from Dynamicweb and from the xml that you receive from NAV, the xml file is located on the path that is set in the job source Xml provider settings.

BR, Dmitrij

Votes for this answer: 1

 

You must be logged in to post in the forum