19

No Code Solution (without Powershell and SharePoint Designer) to "hide Recurrence field" or "hide AllDayEvent field": go to list settings go to your event content type click on some field to edit the url will now look something like: https://xxx.sharepoint.com/sites/01/_layouts/15/ManageContentTypeField.aspx?ctype=0x0102005387B5A54CC55F43AF64A0B67EBB8CE2&...


9

Just hiding/removing +Add button, does not prevent the user from creating calendar Events using Calendar View, since the Events could be created by clicking inside calendar area. So, if you are interested not only in hiding/removing +Add button you could consider the following approach. How to disable the calendar events Example 1 ...


8

I've written a small console app to test my solution and it seems that all work fine. Here is a code: var site = new SPSite("http://localhost/sites/test/"); var web = site.OpenWeb(); var wpManager = web.GetLimitedWebPartManager("Lists/cal/calendar.aspx", PersonalizationScope.Shared); var contentEditor = new ContentEditorWebPart(); var xmlDoc = new ...


8

My colleague and I call this type of query, "Recurrance Expansion". It is SharePoints way of expanding recurring events to display on the calendar week and month views for all events (recurring and non recurring). We have found that doing the queries larger than a month are not dependable and results get throttled depending on number of events or the ...


8

I don't know of a configuration setting that will turn off the Add button in the Calendar but you can hide it by placing a Content Editor web part on the page and adding the following CSS to the Content Editor. Be sure to click the Edit Source button in the ribbon and paste it in the HTML Source. <style type="text/css"> .ms-acal-rootdiv A[title="...


7

Pinguwein, Create a Calendar List where you can Add Events, in List Settings -> List Permissions give your administrator Full Control/Design and All Authenticated Users Read permission! Create a Event Registration custom list and with other fields create a Lookup Field for Calendar List we made in 1st Step Open SharePoint Designer and go to Calendar list ...


6

After SP1 for SharePoint 2010 some calendar scripts may stop working. We are using this script to determine when calendar loaded (it includes your expand all requirement): _spBodyOnLoadFunctionNames.push('WaitForCalendarToLoad'); function WaitForCalendarToLoad() { if (typeof SP.UI.ApplicationPages.CalendarNotify.$4a == 'undefined') { // post ...


6

You can create a calendar in SharePoint and apply an e-mail adress to the list of the calendar. You can send your meeting requests to the calendar list email adress (as attendee). For each meeting, an item is created, which is displayed on the calendar.


6

In order to init form fields on the client side make sure that your code is executed after page is loaded, for example place your call into SharePoint specific function _spBodyOnLoadFunctionNames function initEndDateEvent() { var txtDate = $("#" + $("label:contains('End Time Date')").attr("for")); var cboHours = $("#" + $("label:contains('End Time ...


5

Activate following features in site settings will let you create a calender list which will be displayed as webpart you might need to change view but I didn't needed to, Office SharePoint Server Standard Site Collection features Office SharePoint Server Standard Site features Team Collaboration Lists For more Information check this link out. Edit


5

In SharePoint 2010 (and I think 2013) you can use Overlays. On the Calendar ribbon there is an Overlays button which allows you to add Calendars from other sites - or even just views from a single Calendar. You can choose different colours for each. And they all appear as one.


5

In a SharePoint calendar, in the ribbon, on the Calendar tab, click Calendar Overlays. In the Calendar Overlay Settings page, click New Calendar. In the Name and Type section, type the Calendar Name and select Exchange. In the Calendar Overlay Settings section, type a Description for the calendar (optional), and change the default Color theme for the ...


5

You cannot do this with the UI, but you can do it with PowerShell or C# code. The internal names of the columns are fRecurrence and fAllDayEvent and the property you want to set is Hidden. So you can update the associated FieldLinks of the Content Type with code like this (PowerShell): $ctype = $myList.ContentTypes["Event"] $ctype.FieldLinks["fRecurrence"]....


4

There is no need to iterate through every web, Personnaly I even think its bad. Instead, use the SPSiteDataQuery class SPSiteDataQuery query = new SPSiteDataQuery(); // Query all Web sites in this site collection. query.Webs = "<Webs Scope=\"SiteCollection\">"; //Ask for all lists created from the Calendar template. query.Lists = "<Lists ...


4

You would have to write a custom control to make that happen. Another approach could be to change the value after selection with javascript/jQuery. For example, change the date to Today for anything <= today, and tomorrow for anything > today.


4

There are following links which you can use to achieve the goal : http://spresourcebooking.codeplex.com/ http://office.microsoft.com/en-au/sharepoint-server-help/enable-reservation-of-resources-in-a-calendar-HA101810595.aspx http://www.codeproject.com/Articles/30983/SharePoint-Reservations https://www.nothingbutsharepoint.com/sites/eusp/Pages/SharePoint-...


4

Ensure that the html element that the datetime control is in has the css property: position:relative; That ensures that the absolute positioning of the element inside it will be relative to its container.


4

Steps to permanently remove calendar from overlay Open calendar overlays page Click on the calendar link which you want to remove In the bottom of the page you can see "Delete" button. Clicking Delete will remove that calendar from the overlay


4

Just in case someone else comes across this question -> Here is my solution that works in Visual Studio with a Custom List Definition based on Calendar. You need to edit the following: Elements.xml for the List Definition -> Change the "Type" attribute to 106. This will create a list based on the SPListTemplateTypeId 106 (Calendar) http://msdn.microsoft....


4

To change the default event colour for an individual calendar in SP2013, add a Content Editor Web Part to the page and apply the following css style within the HTML of the Web Part. <style type="text/css"> div.ms-acal-item { background-color: #288054; } </style> This example is applying a green background colour, but you can change the HEX ...


4

It is not implemented and I don't see they will be doing it on priority. The reason being SharePoint is a global product and it is being used world wide. Hence targeting US holidays only helps customers in US. You can try the workaround suggested by creating a Shared Mailbox Calendar and overlaying it to SharePoint.


4

I've been having this same issue for the past two weeks and searched through ton's of blogs and forums before coming across this post. If you don't want to read that whole thread, the short answer is the Calendar Web Part was added in a Rich Text Zone. This causes the JavaScript error you were getting that kept the Calendar Overlays from displaying and the ...


4

Here's a small snippet from my blog which should get you where you need: _spBodyOnLoadFunctionNames.push('calendarEventLinkIntercept'); // hook into the existing SharePoint calendar load function. function calendarEventLinkIntercept() { if (SP.UI.ApplicationPages.CalendarNotify.$4a) { var OldCalendarNotify = SP.UI.ApplicationPages.CalendarNotify.$4a; SP.UI....


4

The calendar colors are based on your sites style/theme. So my guess is that you are using a non default theme (or perhaps you created your own) on the sites that are showing black, and the default one on the one that shows blue. If you click the gear in the top corner, then click change the look, you'll see the color palette for each theme. Typically the ...


4

Try this formula IF(ISERROR(DATEDIF([StartDate],[EndDate],”d”)),””,(DATEDIF([StartDate],[EndDate],”d”))+1-INT(DATEDIF([StartDate],[EndDate],”d”)/7)*2-IF((WEEKDAY([EndDate])-WEEKDAY([StartDate]))<0,2,0)-IF(OR(AND(WEEKDAY([EndDate])=7,WEEKDAY([StartDate])=7),AND(WEEKDAY([EndDate])=1,WEEKDAY([StartDate])=1)),1,0)-IF(AND(WEEKDAY([StartDate])=1,(WEEKDAY([...


4

When you are connecting the SharePoint Calendar to Outlook, there will be a dialog and a link asking you to accept the connection. Just copy that link and send it to your users, one click and they have synced the calendar to their Outlook. The link begins with something like this. stssync://sts/?ver=1.1&type=calendar&cmd=add-folder&base-url ...


4

In classic experience, If you already enabled the custom scripts, you can add script editor web part with the below CSS: <style> .ms-WPTitle {font-weight:Bold !important; } </style> Note: The above style will bold all web parts title in the page. For a specific web part, You can get the web part id for your calendar web part using IE ...


4

You would need to write a script to check the calender for each day to find out if theres any avaliable slots. Doing it in a workflow wouldn't make for the best user experience - also since you need to remove the date from the picker (when creating the item) you need to modify the Newform.aspx page anyway. Personally I would use client side javascript for ...


3

Welcome to SharePoint! It's a wonderful world wrought with excitement and new discoveries everyday... What I would do in your situation is to create a view based on each of the tags. Once each view is created, you can switch back and forth as needed to see each individual view. And you can use each view to color code your items. Using the default view of ...


3

Try adding the below For RECURRING EVENTS: ====================== Gotcha.. For recurring events issue, i have found a solution , as instructed in the msdn.. Need to change the SPquery little bit as given in the post, googledotnet.blogspot.sg/2012/11/recurring-events-not-working-in.html Thanks


Only top voted, non community-wiki answers of a minimum length are eligible