Is it possible in SharePoint 2010 to access a particular date of a calendar through a link? As far as I could see it right now, switching to the Day view happens through AJAX, and no URL parameters can be provided. What I want to achieve is to open a URL and provide a date with it, and have that particular date displayed for my calendar
Tell me more
×
SharePoint Stack Exchange is a question and answer site for
SharePoint enthusiasts. It's 100% free, no registration required.
|
Rene, you can do it with Javascript/jQuery. Pass the date in the querystring. Then in a CEWP, feed that into the built-in Javascript date change function on page load. I used SPServices for getting the querystring, but you don't have to do that:
Then, just pass the date like this: /calendar.aspx?date=4%2f25%2f2013 Changing views (from month to day to week) could be accomplished the same way. You just need to find the function that does that... I've assumed you would do that in my querystring getter. |
|||||
|