Hi everyone!
In my app, you can create accounts and get an overview of an account. Seeing as both need the same UI, I used a form that is empty when the page is used to make an account and it is filled in when we want an overview of an account.
When making an account, I would like the next steps to happen:
- Initial load of the page is empty, free for the user to fill it in.
- Once filled in, the user clicks create which sends API call to make an account in the back-end.
- When the account is created in the back-end, I retrieve the Account Id and have a success handler "Go to App" which goes to the same app with the id added to the url parameters (this is how the form fills in information)
The issue is now, when I create an account, I clearly see the id being added to the url, but the page itself does not reload. This results in the form just being empty.
I could run the getAccountInformation call periodically, but that seems very useless as it is only relevant the one time the account is made, and not when someone is just taking a look at their information.
Is there a way to force a reload after altering url paramaters?