Hi,
Is it possible to create an extender for create and edit profile.
We'd like to create some custom validation and other triggers in code behind when creating or editing a profile.
Maybe it is also a good idea to support the use of validation groups on these templates.
Kind regards,
Remi
Developer forum
E-mail notifications
Extranet/Intranet (Extended)
Posted on 18/03/2011 13:21:09
Replies
Nicolai Høeg Pedersen
Posted on 18/03/2011 18:05:30
Could you use the Dynamicweb.Modules.UserManagement.Notifications.UserSaved notification? It gets a Dynamicweb.Modules.UserManagement.Notifications.UserNotificationArgs object as its parameter.
Triggered whenever a user is saved and also created..
Triggered whenever a user is saved and also created..
Posted on 22/03/2011 12:33:46
I am aware and already using the usersaved notification.
What i can't do is pre validate before the user object is saved when the profile is created or updated.
If this is already possible please enlighten me.
Kind regards,
Remi
What i can't do is pre validate before the user object is saved when the profile is created or updated.
If this is already possible please enlighten me.
Kind regards,
Remi
Posted on 22/03/2011 13:05:32
If we had a notification BEFORE a user/group is saved, we could validate or manipulate data before it is saved or even prevent it from being saved.
And there is no way to extend the user management templates AFAIK. Template extenders would be VERY useful for adding related content etc.
/Morten
/Morten
Nicolai Høeg Pedersen
Posted on 22/03/2011 13:55:58
I've added a UserOnBeforeSave notification that is run before the user information is saved to database.
Added a task to implement a notification for validating users when saved in the frontend - so it is possible to add your own validation errors.
Added a task to implement a notification for validating users when saved in the frontend - so it is possible to add your own validation errors.
Posted on 22/03/2011 14:16:51
No template extenders for displaying additional information about users and groups?
Nicolai Høeg Pedersen
Posted on 22/03/2011 14:29:51
TFS6282 RenderUser and RenderGroup template extenders added to DW 8 product backlog.