I have a view that has 2 levels of categories. When the view opens, and EVERYTIME the view opens I want it to open with the 1st category expanded, and the categories under the 1st category collapsed. I can accomplish this with ViewExpand. However…I am experiencing erratic behavior in both R6 and R7.
I have placed @Command([ViewExpand]) in both the PostOpen and the QueryClose of the view. When I open the view either using the notes client or via a Notes URL…the view opens correctly. If I navigate around the view - opening and closing categories…and then close the database or navigate to another view - and then back to the view, the view is not “reset” with ViewExpand.
In the view properties, ‘On Open’ is set to ‘Top Row’. I don’t know if that helps or not…
Currently…the users access these views via our Intranet…but I will be switching the links to open in Notes. On the web, the views open correctly using ?OpenView&Collapse=1.1. I tries to pass these parms using the Notes URL, but that didn’t work either.
Any ideas?