Hello,
Question:
- How do I remove a Param from the URL from within the application?
The Param() docs are scant and haven't been updated in 5 years (!). Need community help on this one!
Scenario:
- OnVisible of App:
If(
!IsBlank(Param("testNumber")),
Set(varTestNumber, Param("testNumber"));
Navigate(scrSearch)
)
- OnVisible of scrSearch:
If(
IsBlank(Param("testNumber")),
Set(varTestNumber, Blank()),
Set(varTestNumber, Param("testNumber"));
Select(icnSearch)
)
- This executes a search and the URL works very well as a "tap-out" from a legacy system.
Problem:
- If user clicks the "Back" or "Cancel" button and wishes to perform a manual search, `Param("testNumber")` remains in the URL
- This causes a loop where the user cannot perform a new search due to `varTestNumber` being set automatically based on the URL
Thanks