I am badly needing a fix or a work around for this error
As you can see in the pics below, i am trying to redirect to view the auto generated ID that has been created upon adding my new record, however it prompts out that i don't have that record but i have it. Please help us to make a work around regarding this issue. I am making a transactions table and i need to view the generated ID because i will be using it as value into other table.
(https://i.imgur.com/TA1lKUr.png)
(https://i.imgur.com/ZFQxaAj.png)
(https://i.imgur.com/0wycWkp.png)
(https://i.imgur.com/RE7ctY9.png)
Thanks in advance.
Please use this to redirect to another view page with ID. RedirectToAfterAdd does not support. this.id.
Use
'/user/view/' + response.body
response.body return the newly added ID.