Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have read a couple of blogs and post that this is possible with sharepoint designer updating some aspx pages for the events list. However we need this to be easily deployable with a visual studio solution.

The exact questions is: how can I disable workspace meeting creation from a visual studio solution?

thx

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

This is possible by hiding the WorkspaceLink field from the Calendar list. If you have existing calendars, you can create a Feature with an event receiver that iterates through all calendars and runs the following code:

SPWeb web = //get the SPWeb object from somewhere
SPList list = web.Lists["CalendarName"];
var field = list.Fields[SPBuiltInFieldId.WorkspaceLink];
field.Hidden = true;
field.Update();

If you want all new calendar to work like this, you need to create a feature that provision a new calendar. Look at http://www.sharepointblues.com/2010/04/26/how-to-remove-workspace-link-from-a-calendar/ for how to do that.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.