Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

@SetViewFilter

Hi Alex, okay now I understand.

Can you not create a calendar in that consolidated mail file that only displays Category = "Location Information"? If not, then try this ...

In your calendar view, create a hidden non-categorized unsorted column immediately to the left of your 1st visible column (this new column will have to be after the date & duration hidden columns)that contains the category field & assign it a programmatic name. Then in the PostOpen use @SetViewFilter & the programmatic name to filter only the docs your want:

@StatusBar("Opening " + @DbTitle + "<your view name>"); <-- good for checking when layering
@SetViewInfo([SetViewFilter];"Location Information";"<your programmatic name>";0;1)

and in the QueryClose, do the following to clear the filter:
@SetTargetFrame("<your consolidated mail file calendar frame>");
@UpdateFormulaContext;
@Command([OpenView]; @Subset(@ViewTitle; -1));
@SetViewInfo([SetViewFilter]; ""; "<your programmatic name>"; 0;0)

The @SetViewFilter in layered calendars works fairly well, although I did have a problem with the hidden filtered column actually displaying in the "At a glance" window -- maybe I didn't create my calendar properly ... who knows?


Feedback response number WEBB9LELAX created by ~Bella Elfreemaroni on 06/25/2014

Filtering Calendar Overlays (~Sean Fronukony... 24.Jun.14)
. . Team Availability (~Bella Elfreema... 24.Jun.14)
. . . . Group Calendars (~Sean Fronukony... 25.Jun.14)
. . . . . . @SetViewFilter (~Bella Elfreema... 25.Jun.14)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS