Filter Dynamically Calendar View SharePoint
        Posted  
        
            by lerac
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by lerac
        
        
        
        Published on 2010-03-25T19:45:07Z
        Indexed on 
            2010/03/25
            19:53 UTC
        
        
        Read the original article
        Hit count: 750
        
Hello world
I'm using SP wss 3.0 wondering if anybody knows how to filter a calendar view in SharePoint dynamically based upon the current user.
It's not the simple question of using [ME] because this will not work with single line text fields. Also users do not add the items, they are being imported. So filtering on the basis of Created by, Modified by, Assigned to, or People picking data is not a option.
Already managed to get to the current user in a jScript variable, now I would like to filter it in the calendar view. Been searching for a long time now, but can't seem to find anything. Altough filtering with a all items view is possible, yet I can't seem to find a way to dynamically filter a calendar view.
Already tried modifing allitems.aspx view page in Designer
Fooling around with CAML
jScript (as far as I know)
Calculated views
Google (find more other cool things then a solution)
Ofcourse I don't expect a solution on a silver platter (ofcourse would be nice ;) ), but if somebody can point me into a direction I already would be quite happy.
© Stack Overflow or respective owner