Hi DW,
We have a scenario where we want to save addresses on user groups in our import.
In our import we only get information about the debtor, which we via XSLT change from an AccessUser to a AccessUserGroup.
The actual users we don't know anything about, and is created via an external login provider where we only get customernumber and email information.
Below is the user group relation we have, where "Debitor 1" is the group created via the import.
When the users for that debtor is using the shop and wants to complete their order via the checkout, we then get the addresses from the debtor user group, in this example "Debitor 1".
Our problem is that in the UserProvider, the logic behind AccessUserAddress is filtering out Groups and is expecting a user.
So it throws an error -> No user found with UserID or Auto equal to: '12462'
Is it possible to add a checkbox for the UserProvider to allow addresses to be added to UserGroups?
We are aware that there's no actual GUI for addresses on UserGroups, but in our testing it works fine if we create the addresses our self.
I've added a zip file with our setup, which contains our XSLT, XML and job file if needed for testing or if it makes it clearer what we're trying to achieve.
Best regards,
Mikkel Hammer
Developer forum
E-mail notifications
Add option to add UserAddresses to AccessUserGroup on UserProvider
Mikkel Hammer
Posted on 18/10/2023 16:31:09
Replies
Mikkel Hammer
Posted on 23/10/2023 10:00:26
bump
Rasmus Sanggaard
Posted on 25/10/2023 13:10:02
Hi Mikkel,
The restriction is old and not needed, we will remove it and release a new version of the User provider. Devops #16184
BR Rasmus
Mikkel Hammer
Posted on 25/10/2023 13:11:43
Hi Rasmus,
Great to hear! Thanks a lot
Best regards,
Mikkel Hammer