I have an Xpage with a view within it that displays search results that are based on the values of 6 fields on the xpage (These values are assigned to sessionscope variables when they selected, which drives the view selection when the search button is hit). This all works well, but what I'd like to change is that the view is empty when the xpage is opened initially (before any values are set).
Apologies for the simple question, but I haven't touched notes since 2006 and its changed a fair bit since then.
Running 8.5.2.
Use viewScope instead sessionScope.
viewScope variables exist for the duration of the current XPage in current browser tab. If you open another XPage or open current XPage in another tab the values of viewScope variables are gone. That is what you need in your case.
sessionScope variables last for the duration of a user session in a browser across all browser tabs. That's why your current search values are set as default in another browser tab.