In most web frameworks/router configurations there is a way to specify a wildcard route (like /*) so that you direct multiple urls to a single view easily or create a custom url not found page. Is that possible in perspective?
Hello,
There is similar functionality to this in perspective, which can be accomplished by passing page parameters via the URL. The docs for this can be found here:
https://docs.inductiveautomation.com/display/DOC81/Pages+in+Perspective#PagesinPerspective-PassingParameters(URLParameters)
What I would advise doing if you want to implement something like wildcards or directing multiple URLs to a custom view not found page is create a view that takes the custom URL parameter and create an Expression binding that navigates to the corresponding view passed, or falls back to a custom URL not found page.
Yeah... this was absolutely the answer. I knew about url parameters, but never thought of using them for wildcard purposes, just for providing url based context to a view. They work well for wildcard purposes.