I’ve run into an issue with my app where I accidentally created a problem in the OnPageLoad logic of one of my pages.
In the OnPageLoad function, I added a condition that is currently always returning false. This condition triggers a redirect to another page. As a result, whenever I try to open the page, I immediately get redirected away.
The problem is: I can no longer access the original page in order to edit or fix the condition. So I’m stuck in a redirect loop and can’t modify the OnPageLoad logic from the UI.
Is there any way to bypass OnPageLoad actions or temporarily disable them so I can regain access to the page and fix the condition?
Or is there a recommended way to edit/remove faulty OnPageLoad logic directly?
Thanks for your help.