Developer forum

Forum » CMS - Standard features » Data integration for moving users from item list so users

Data integration for moving users from item list so users

Hans Ravnsfjall
Reply

Hi

On the solution leinkjan15.net.dynamicweb-cms.com, i have set up a data integration that exports users from items and imports it to users. Everything works fine so far, but the users only get added to all users.

 

Do I have to add UserGroupId to the users to be able to import and map them to a certain group, or can I set this up in the DataIntegration module?

 

Same question regarding allowemailmarketing to true or false on import?

 

Last question, how can i set it so that it doesn´t overwrite existing users?

 


Replies

 
Jonas Krarup Dam
Reply
This post has been marked as an answer

Hi Hans,

Assuming you just want to add all the users to one group, you can use scripting, and just add the groupID (or group name) in the activity setup, as a constant:

Of course, you should pick the right table and column - I just did a screenshot from a random integration activity I had laying around ;-)

you can use the same to set AllowEmailMarketing.

There is no way to avoid overwriting existing users with the current providers - if the data is in the input, it will be imported (at least when using the userProvider). 

 

Regards, Jonas

Votes for this answer: 1
 
Hans Ravnsfjall
Reply

Ok, thank you for your help :)

I wil try this

 

regards Hans

 

You must be logged in to post in the forum