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.
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.