Calendar list editing recurring events
Posted by [email protected] - Jun 16 ’16 at 03:48
I have created New, Edit and Display forms for a Sharepoint 2013 Calendar list and now seem to be unable to edit a recurring event by using Edit Series. I only see the Edit Item option. When I click on that option and look at the Recurrence field I notice the "Start Date" field is blanked out even though I originally set a starting date for the duration of the recurrence. The End By field still has the value I originally set. If I click on Save to save the item it will not be saved unless I re-enter a value for the Start Date field on the Recurrence. What do I need to do in order to make the recurrence keep the original value set in the Start Date field and how do I get back the Edit Series option on my forms?
-
Dmitry KozlovAdminMember for: 9 years 6 months 5 days
Hi,
I've just tested the case and it seems it's working properly for me: Edit Series button appears in the ribbon of both Edit and Display forms for recurrent events and the Start Time works as expected as well.
First, make sure that you put the following fields onto your form in Forms Designer: Title, Start Time, End Time, All Day Event, Recurrence.
-
[#1]: Thank you for testing. I added all the fields you referenced to my form but I still don't see the "Edit Series" option.
Not sure if I am adding the image correctly to show my screen. It is on Google Drive and shared with anyone who has the link so I also added the hyperlink to the location.
The Recurrence is still loosing the Duration Start Date.
Let me know if you can't access the images.
Thanks
-
Dmitry KozlovAdminMember for: 9 years 6 months 5 days
[#2]: Hi Pam,
Unfortunately, I cannot see the images. Please, note that the 'Edit Series' is visible for individual events in series. Make sure that you opened the recurrent event.
-
Sorry about that image stuff. I'm too new to Google Drive. Anyway, I tried to access any one of the occurences of the series from a Calendar view but got an error message with a Correlation ID. I looked up the number and found the following error in the log:
Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.SharePoint.SPException: Item does not exist. It may have been deleted by another user. at Microsoft.SharePoint.ApplicationPages.Calendar.CalendarInstanceQuery.Retrieve(SPList list, String recurId) at Microsoft.SharePoint.SPContext.get_Item() at Microsoft.SharePoint.SPContext.ContentTypeInternal(String contentTypeId) at Microsoft.SharePoint.WebPartPages.ListFormWebPart.ShowRibbon() at Microsoft.SharePoint.WebPartPages.ListFormWebPart.OnInit(EventArgs e) (This goes on and on with stuff I don't understand) This might be because the duration start date isn't getting saved but I'm just guessing on that. Here is my javascript code for the Display.aspx form (could I be doing something in here that's messing it up? There's not much to it.) I'm hidding some fields because they are not relevant to the application.
$('#fd_tabcontrol-0').tabs('option', 'active', 0);
$('.fd_field[fd_name="fAllDayEvent"]').hide();
$('.fd_field[fd_name="Location"]').hide();
//set new item tab control to first tab
fd.onsubmit(function() {
$.cookie('fd_tabcontrol-0', 0);
return true;
}); -
I know what the problem is now. My customer wanted me to set the End Date programatically so no one could request an event within the same day the request is made. (No rush jobs today). This isn't a problem for requests that don't need a recurrence. But for those that are recurring it is causing an issue in that the programming is interferring with the way Sharepoint uses the Start and End date to set the durations. I need a way to code it so that if a person wants to create a recurring event my code for setting the EndDate will blank out the date or at least assign what is set in the EndDate duration portion of the recurrence configuration. Any ideas?
-
Here is my code for setting the EndDate programatically.
//set the Preferred Due Date to tomorrow at 5PM - user can change if needed
var calcDate = new Date();
calcDate.setDate(calcDate.getDate());
var Month = calcDate.getMonth() + 1;
var Day = calcDate.getDate() + 1;
var Year = calcDate.getFullYear();
var vDueDate = Month + "/" + Day + "/" + Year + ":17:00";
var d = new Date(vDueDate);
fd.field('EndDate').value(d); -
jeninehoranMemberMember for: 1 year 4 months 15 days
Please, place the following code into JS-editor.
fd.onsubmit(function() { if ($('#idAttachmentsTable tr').length < 2) { alert('Please, add at least two attachments'); return false; slope game 3d } return true; });
It checks whether the current user has added at least two attachments before the submission.
-
MauriceZaissMemberMember for: 10 months 6 days
Not to say that https://epiccarry.com/eu/buy-wow-arena-rating/ a very difficult game. It just suffers from the excessive clutter of the interface, which is so characteristic of titles. To make your stay in this enchanting world as easy and relaxed as possible, we are launching a series of game guides.
-
jamesjaksonMemberMember for: 4 months 9 days
When you create a Calendar item, you may want to add it to a recurring schedule. To do this, follow these steps:
1. In the Calendar list, select the item you want to add to the recurring schedule.
2. In the Properties pane, under Recurrence, select the desired frequency.
3. Click OK.
Professional Home Remodeling Contractor in Fort Lauderdale FL
-
diyibiMemberMember for: 2 months 6 days
Therefore dissertation web-sites by means of the net to generate protected relatively noted within your web page. https://zagadka.info/zagadki-logiczne/