Check whether view is expanded or collapse in lotusscript

I am displaying a view with $$viewTemplateDefault form in one of my project. I want to check whether the currently display view is expanded or collapse in lotusscript

Thanks,

ketan

Subject: check whether view is expanded or collapse in lotusscript

You display the view on web. So you open it with URL. In the URL of the view, you can find all about what and where is expanded. Right-click the view and check its properties to see the URL.All you have to do is to get the URL of the currently open view and check if it contains something like &Expand=, &ExpandView, &CollapseView.

On your $$Viewtempate form, create a computed for display field with this formula:

@If(@Contains(Query_String;“&Expand”);“Something is expanded”;“Nothing is expanded”)

Good luck

Darina