Developer forum

Forum » CMS - Standard features » Create Users app - disable validation + other questions

Create Users app - disable validation + other questions

Mark Hoogkamer
Reply

Hi,

Another one I might be overthinking:I have set up a Create User form and the user is automatically added to a group and all mandatory and extra user data fields are filled correctly*. Only, the user is set to INACTIVE. For my client I would need to have the user set to ACTIVE upon creation. Is this possible?

 

* I also can't seem to use the VAT REG NUMBER field here, which the client needs to either move the user to 'Approved B2B User' or keep it under 'View Catalogue Only' where they are auto added to upon completing the Create Account form. Is this a bug or is there a reason for this? We used the correct system name from the documentation, but the field value is the only one that is not filled in the user profile (everything from address to phone number comes through correctly).


Thanks in advance for your help!

inactive.png

Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

No, that is not possible, nor should it be. Would be a security breach out of this world... The app will send out an email if a template is chosen where the user can complete the setup and set a password.

If you really want it, you can create a notification subscriber for  Notifications.Notifications.UserSaved - and set the user to active. But I would highly recommend not to do it as you will run into issues.

The vat reg number is a missing mapping in user creation - now fixed and rolling out soon.

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

No, that is not possible, nor should it be. Would be a security breach out of this world... The app will send out an email if a template is chosen where the user can complete the setup and set a password.

If you really want it, you can create a notification subscriber for  Notifications.Notifications.UserSaved - and set the user to active. But I would highly recommend not to do it as you will run into issues.

The vat reg number is a missing mapping in user creation - now fixed and rolling out soon.

 

You must be logged in to post in the forum