Developer forum

Forum » Development »  using UserManagement:User.ManageAddresses.MakeDefault.Javascript to make the address from AccessUser address fields the default hits no notifications

using UserManagement:User.ManageAddresses.MakeDefault.Javascript to make the address from AccessUser address fields the default hits no notifications

Mikkel Hammer
Mikkel Hammer
Reply

Dear Dynamicweb,

As the title says: when we're using UserManagement:User.ManageAddresses.MakeDefault.Javascript and selects the address from AccessUser address fields to make it default, it doesn't hit UserSaved notification or UserAddressOnAfterSave notification - but it hits UserAddressOnAfterSave notification when selecting any other address than the AccessUser address.

Just to be clear, it changes the address perfectly fine, we just need to catch the event happening somewhere.
I've attached the request it makes to the extranet module, it looks like the others that are working fine.

Is it using another notification or is it a bug?

Best regards,
Mikkel

SVS_javascript_default_address.png

Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

It is just a state change and not a address save.

Can't you just listen to request.querystring has a value on the ManageAddressFormAction instead on a pageload notification?

Votes for this answer: 1

 

You must be logged in to post in the forum