Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

New Post: Using AddView to create a new view for a calendar

$
0
0
Is it possible to specify either an existing view to use as a template (preferred), or a specific view type when using AddView?

I'm trying to use it to create a new calendar view, and I've specified type as HTML (as it seems the only other option is Grid). My calendar's default view is of type "calendar" but the new view hasn't been created as the same type.

Looking at the URLs when you do this manually the querystring either includes &View= if you are creating a new view based on an existing one, or &Calendar=True&BaseViewID=2 if just creating a new view of type calendar.

Looking at the MSDN documentation it isn't clear if there is a way of encoding either of the two options (the first would be preferrable as I'm not using the default colums for time interval and month/week/day headings.

Regards,
Kevin.

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>