We help IT Professionals succeed at work.

Creating A Dynamic Calendar View

shuboarder
shuboarder asked
on
I'm looking to create a dynamic calendar view based on the value of a field.
Let's assume this field is called fieldA.

Now I would like to have an action on the action bar that when pressed will prompt the user to select some predefined values lets say:

A
B
C
D
E
F
G

If the user selects A & G for example I want the view to only show records where fieldA contains A or G.

I've seen a few things related to using @environment and @SetViewInfo but I'm after the easiest and most effective way of achieving this without creating a calendar view for each possibility.

Thanks!
Comment
Watch Question

Sjef BosmanGroupware Consultant
CERTIFIED EXPERT

Commented:
First off: ain't gonna work with plain views. Why not? You need a categorized view (which is far from easy in this case, if multiple categories are allowed) but a calendar view requires the first and second column to be special. Ergo: won't work.

On second thoughts: try with a folder that's set up as a Calendar, and some code to select document to be put in that folder. Maybe you need a Personal folder for this purpose...
Sjef BosmanGroupware Consultant
CERTIFIED EXPERT

Commented:
Typo: ... to select documentSSS ...
Sounds like I'm going to have to create a view for each category...
Not exactly what I wanted since the end-user is able to add new categories and then it will be down to design to create more views.
Sjef BosmanGroupware Consultant
CERTIFIED EXPERT

Commented:
Private Folders is no good??

Explore More ContentExplore courses, solutions, and other research materials related to this topic.