A while back I had a problem where I was trying to return the user to the previous page they were in and Zvonko gave me a solution:
Click here if you want to see original question:
Anyway his solution was placing this code in my $$Return
"[/" + @SubSet(@DbName;-1)+"/"+@S
This worked great accept now I have a user who has expanded several categories in a view to find a specific document, and when they open the document and then save the document the $$Return brings them back to the original view successfully however the view categories are not returned to the same state that they were in... ie: some categories should be left expanded, and some should be left collapsed etc. Instead it is auto-expanding EVERYTHING.
Any ideas to return the view to exactly how the user left them?