Magento : Admin User Save After Event not WorkingNeed event observer for the import product save row controllerAdmin User create eventhow to update product attribute value after new product saveWhat event is called when an admin user is deletedCustomer after save event not triggered if admin add a customerMagento2: frontend event is not working (sales_order_place_after)event after eav attribute save Magento2Event observer not working or event not firingMagento 2 - Event equivallent to checkout_cart_product_add_after for adminCustomer save after event magento2
Do people who work at research institutes consider themselves "academics"?
Holding rent money for my friend which amounts to over $10k?
Capital gains on stocks sold to take initial investment off the table
Why is the Advance Variation considered strong vs the Caro-Kann but not vs the Scandinavian?
Is there an academic word that means "to split hairs over"?
Understanding Python syntax in lists vs series
Can my American children re-enter the USA by International flight with a passport card? Being that their passport book has expired
I recently started my machine learning PhD and I have absolutely no idea what I'm doing
Can I say: "When was your train leaving?" if the train leaves in the future?
Variance and covariance inequality
Why doesn't Iron Man's action affect this person in Endgame?
Is there any good reason to write "it is easy to see"?
My bread in my bread maker rises and then falls down just after cooking starts
Geometric inspiration behind Hal(irutan)'s Wolf(ram Language Logo)
When did game consoles begin including FPUs?
How to not get blinded by an attack at dawn
Meaning of "legitimate" in Carl Jung's quote "Neurosis is always a substitute for legitimate suffering."
Why commonly or frequently used fonts sizes are even numbers like 10px, 12px, 16px, 24px, or 32px?
Were any of the books mentioned in this scene from the movie Hackers real?
Why would company (decision makers) wait for someone to retire, rather than lay them off, when their role is no longer needed?
Slice a list based on an index and items behind it in python
Were any toxic metals used in the International Space Station?
Will there be more tax deductions if I put the house completely under my name, versus doing a joint ownership?
Wireless headphones interfere with Wi-Fi signal on laptop
Magento : Admin User Save After Event not Working
Need event observer for the import product save row controllerAdmin User create eventhow to update product attribute value after new product saveWhat event is called when an admin user is deletedCustomer after save event not triggered if admin add a customerMagento2: frontend event is not working (sales_order_place_after)event after eav attribute save Magento2Event observer not working or event not firingMagento 2 - Event equivallent to checkout_cart_product_add_after for adminCustomer save after event magento2
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am using this code
<adminhtml>
<admin_user_save_after>
<observers>
<my_test_admin_user_save_after_observer>
<class>MY_Test_Model_Observer</class>
<method>userSaveAfter</method>
</my_test_admin_user_save_after_observer>
</observers>
</admin_user_save_after>
</adminhtml>
This not call observer MY_Test_Model_Observer
Any idea how to call admin user save after event.
magento-1.9 admin event-observer customer
add a comment |
I am using this code
<adminhtml>
<admin_user_save_after>
<observers>
<my_test_admin_user_save_after_observer>
<class>MY_Test_Model_Observer</class>
<method>userSaveAfter</method>
</my_test_admin_user_save_after_observer>
</observers>
</admin_user_save_after>
</adminhtml>
This not call observer MY_Test_Model_Observer
Any idea how to call admin user save after event.
magento-1.9 admin event-observer customer
By admin user, do you mean System > Permission > Users or System > My Account user?
– Jaimin Sutariya
Mar 11 '17 at 13:47
Can you tell me how to get email of user with this event in magento 2
– Kỳ Anh Vũ
May 10 at 17:53
add a comment |
I am using this code
<adminhtml>
<admin_user_save_after>
<observers>
<my_test_admin_user_save_after_observer>
<class>MY_Test_Model_Observer</class>
<method>userSaveAfter</method>
</my_test_admin_user_save_after_observer>
</observers>
</admin_user_save_after>
</adminhtml>
This not call observer MY_Test_Model_Observer
Any idea how to call admin user save after event.
magento-1.9 admin event-observer customer
I am using this code
<adminhtml>
<admin_user_save_after>
<observers>
<my_test_admin_user_save_after_observer>
<class>MY_Test_Model_Observer</class>
<method>userSaveAfter</method>
</my_test_admin_user_save_after_observer>
</observers>
</admin_user_save_after>
</adminhtml>
This not call observer MY_Test_Model_Observer
Any idea how to call admin user save after event.
magento-1.9 admin event-observer customer
magento-1.9 admin event-observer customer
edited Mar 11 '17 at 9:43
Dhiren Vasoya
4,67051845
4,67051845
asked Mar 11 '17 at 7:04
denish vachhanidenish vachhani
3,42021039
3,42021039
By admin user, do you mean System > Permission > Users or System > My Account user?
– Jaimin Sutariya
Mar 11 '17 at 13:47
Can you tell me how to get email of user with this event in magento 2
– Kỳ Anh Vũ
May 10 at 17:53
add a comment |
By admin user, do you mean System > Permission > Users or System > My Account user?
– Jaimin Sutariya
Mar 11 '17 at 13:47
Can you tell me how to get email of user with this event in magento 2
– Kỳ Anh Vũ
May 10 at 17:53
By admin user, do you mean System > Permission > Users or System > My Account user?
– Jaimin Sutariya
Mar 11 '17 at 13:47
By admin user, do you mean System > Permission > Users or System > My Account user?
– Jaimin Sutariya
Mar 11 '17 at 13:47
Can you tell me how to get email of user with this event in magento 2
– Kỳ Anh Vũ
May 10 at 17:53
Can you tell me how to get email of user with this event in magento 2
– Kỳ Anh Vũ
May 10 at 17:53
add a comment |
1 Answer
1
active
oldest
votes
You cannot use admin_user_save_after
event as there is no event with the specified name in magento.
If you want to run your observer function after you save a Role user, Created from System > Permissions > User, you can use below code,
<adminhtml>
<events>
<controller_action_postdispatch_adminhtml_permissions_user_save>
<observers>
<my_test_admin_user_save_after_observer>
<class>MY_Test_Model_Observer</class>
<method>userSaveAfter</method>
</my_test_admin_user_save_after_observer>
</observers>
</controller_action_postdispatch_adminhtml_permissions_user_save>
</events>
</adminhtml>
If you want to run observer function after you save main admin user from System > My Account, you can use below code,
<adminhtml>
<events>
<controller_action_postdispatch_adminhtml_system_account_save>
<observers>
<my_main_admin_user_save_after_observer>
<class>MY_Test_Model_Observer</class>
<method>userSaveAfter</method>
</my_main_admin_user_save_after_observer>
</observers>
</controller_action_postdispatch_adminhtml_system_account_save>
</events>
</adminhtml>
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f163899%2fmagento-admin-user-save-after-event-not-working%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You cannot use admin_user_save_after
event as there is no event with the specified name in magento.
If you want to run your observer function after you save a Role user, Created from System > Permissions > User, you can use below code,
<adminhtml>
<events>
<controller_action_postdispatch_adminhtml_permissions_user_save>
<observers>
<my_test_admin_user_save_after_observer>
<class>MY_Test_Model_Observer</class>
<method>userSaveAfter</method>
</my_test_admin_user_save_after_observer>
</observers>
</controller_action_postdispatch_adminhtml_permissions_user_save>
</events>
</adminhtml>
If you want to run observer function after you save main admin user from System > My Account, you can use below code,
<adminhtml>
<events>
<controller_action_postdispatch_adminhtml_system_account_save>
<observers>
<my_main_admin_user_save_after_observer>
<class>MY_Test_Model_Observer</class>
<method>userSaveAfter</method>
</my_main_admin_user_save_after_observer>
</observers>
</controller_action_postdispatch_adminhtml_system_account_save>
</events>
</adminhtml>
add a comment |
You cannot use admin_user_save_after
event as there is no event with the specified name in magento.
If you want to run your observer function after you save a Role user, Created from System > Permissions > User, you can use below code,
<adminhtml>
<events>
<controller_action_postdispatch_adminhtml_permissions_user_save>
<observers>
<my_test_admin_user_save_after_observer>
<class>MY_Test_Model_Observer</class>
<method>userSaveAfter</method>
</my_test_admin_user_save_after_observer>
</observers>
</controller_action_postdispatch_adminhtml_permissions_user_save>
</events>
</adminhtml>
If you want to run observer function after you save main admin user from System > My Account, you can use below code,
<adminhtml>
<events>
<controller_action_postdispatch_adminhtml_system_account_save>
<observers>
<my_main_admin_user_save_after_observer>
<class>MY_Test_Model_Observer</class>
<method>userSaveAfter</method>
</my_main_admin_user_save_after_observer>
</observers>
</controller_action_postdispatch_adminhtml_system_account_save>
</events>
</adminhtml>
add a comment |
You cannot use admin_user_save_after
event as there is no event with the specified name in magento.
If you want to run your observer function after you save a Role user, Created from System > Permissions > User, you can use below code,
<adminhtml>
<events>
<controller_action_postdispatch_adminhtml_permissions_user_save>
<observers>
<my_test_admin_user_save_after_observer>
<class>MY_Test_Model_Observer</class>
<method>userSaveAfter</method>
</my_test_admin_user_save_after_observer>
</observers>
</controller_action_postdispatch_adminhtml_permissions_user_save>
</events>
</adminhtml>
If you want to run observer function after you save main admin user from System > My Account, you can use below code,
<adminhtml>
<events>
<controller_action_postdispatch_adminhtml_system_account_save>
<observers>
<my_main_admin_user_save_after_observer>
<class>MY_Test_Model_Observer</class>
<method>userSaveAfter</method>
</my_main_admin_user_save_after_observer>
</observers>
</controller_action_postdispatch_adminhtml_system_account_save>
</events>
</adminhtml>
You cannot use admin_user_save_after
event as there is no event with the specified name in magento.
If you want to run your observer function after you save a Role user, Created from System > Permissions > User, you can use below code,
<adminhtml>
<events>
<controller_action_postdispatch_adminhtml_permissions_user_save>
<observers>
<my_test_admin_user_save_after_observer>
<class>MY_Test_Model_Observer</class>
<method>userSaveAfter</method>
</my_test_admin_user_save_after_observer>
</observers>
</controller_action_postdispatch_adminhtml_permissions_user_save>
</events>
</adminhtml>
If you want to run observer function after you save main admin user from System > My Account, you can use below code,
<adminhtml>
<events>
<controller_action_postdispatch_adminhtml_system_account_save>
<observers>
<my_main_admin_user_save_after_observer>
<class>MY_Test_Model_Observer</class>
<method>userSaveAfter</method>
</my_main_admin_user_save_after_observer>
</observers>
</controller_action_postdispatch_adminhtml_system_account_save>
</events>
</adminhtml>
answered Mar 11 '17 at 14:04
Jaimin SutariyaJaimin Sutariya
9,51822055
9,51822055
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f163899%2fmagento-admin-user-save-after-event-not-working%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
By admin user, do you mean System > Permission > Users or System > My Account user?
– Jaimin Sutariya
Mar 11 '17 at 13:47
Can you tell me how to get email of user with this event in magento 2
– Kỳ Anh Vũ
May 10 at 17:53