Are you looking for something like this? https://docs.mendix.com/appstore/modules/deep-link
Think you need this one: https://appstore.home.mendix.com/link/app/65083/
- Mendix is a single page application.
- Even if you try to achieve this, please understand you need to change the entire application page redirection to work with deep link or other modules referred above. Because you must maintain the URL for the entire session.
- I am thinking out loud about use case where would you need such thing in a single page application and what you want to do with that URL. And probably any logic you have to do inside the application, you must restrict it with the current logged in User which you have to do with Access rules any way.