Please help!
I am trying to call a single view with two different Outlines entries that would hopefully filter the view differently based on the contents of the first categorized column (“Site”; options “A” or “B”)
The Source for the 2 different Outline Entries:
@SetTargetFrame(“MainFrame”);
@Command([OpenView];“AllProductView”);
@SetViewInfo( [SetViewFilter] ; “A” ; “Site” ; 1 );
@Command( [ViewCollapseAll] );
@SetTargetFrame(“MainFrame”);
@Command([OpenView];“AllProductView”);
@SetViewInfo( [SetViewFilter] ; “B” ; “Site” ; 1 );
@Command( [ViewCollapseAll] );
The problem is that when the two entries clicked on, “A” shows what would be expected, while the other (“B”) shows nothing. a “C” also does not work.
I’ve tried replacing the ViewCollapseAll with ViewExpandAll, and both views now show up, but if a user clicks on their “Collapse All” button, the second will disappear (but the first, “A”, will remain uncollapsed). This is exasperated by the fact that once collapsed, it can not be un-collapsed.
I also noticed that if i sort the categorized view as Descending instead of Ascending, the first Outline entry button (for “A”) will no longer work (shows a blank view), but it does not help the second view. (It still doesn’t work)
I am already using code previously mentioned in the forum to remove the filter on leaving the view in the postquery (as mentioned here: http://www-10.lotus.com/ldd/nd6forum.nsf/c21908baf7e06eb085256a39006eae9f/ab2b6c4ddf0c6480852571110059523a?OpenDocument )
I’m really hoping someone has a solution for this, as i will have to unwind a lot of code and lose some functionality if i can’t get it to work.
-TIA