Developer forum

Forum » Integration » User Provider, several groups

User Provider, several groups

Paul Sørensen
Reply

Using the Dynamicweb Provider for importing eg. users, I'm able to specify several groups in my XSLT schema by @groupId@@groupId@

 

Using the User Provider, this throws an error;

Can't associate the user 'username' with non existing group '@305@@306@'

 

DW 8.2.1.0


Replies

 
Morten Bengtson
Reply
This post has been marked as an answer

The Dynamicweb Provider performs a one to one import of raw data. The User Provider is different because it adds a level of abstraction to make it easier to import users, groups and addresses.

 

You need to modify the list of group relations a bit because the User Provider does not expect the actual format stored in the database. Group relations are instead defined by a comma separated list of either group id or group name, e.g. "305,306".

 

You can find more information about how to set up your import in the User Provider documentation

 

Votes for this answer: 1
 
Paul Sørensen
Reply

Must have overlooked that part of the documentation. Thanks Morten :)

 

You must be logged in to post in the forum