Skumbabs Posted October 20, 2016 Share Posted October 20, 2016 (edited) Hello, I would like to update a column after I have add a new line in my module table(with module form) and don't really know how to do it. The thing is that in my processSave I create an other object with an Api and I would like to add my object ID in a column of my module table by updating the new line I just added via my module form. I dont know If I'm really clear. Dont hesitate to ask question to understand. Thanks in advance for any help, Edit --- Well I htink I need to use function postProcess instead of adding code at the end of processSave().However, can you please help me getting value of submitted form ? Thanks ! Edit --- After some tests, I figured out that postProcess function seems to be executed before the insert in the database... Edited October 21, 2016 by Skumbabs (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted October 22, 2016 Share Posted October 22, 2016 WHat kind of object are you updating? Product, category..? Or is it a completely new one?Also, are you looking for a hook that executes right after this object is saved? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now