Recurring Events are Not Saving

6 posts, 0 answers
  1. Andrew
    Andrew avatar
    21 posts
    Member since:
    Dec 2015

    Posted 17 Dec 2015 Link to this post

    This question has been asked, but all of the replies generally say just add fields to the schema and it will work. I think all necessary recurrence fields are in my schema. This is it: 

     

    schema: {
                    model: {
                        id: "MeetingID",
                        fields: {
                            MeetingID: {
                                from: "meeting_id"
                            },
                            title: {
                                from: "desc",
                                defaultValue: "No title",
                                validation: {
                                    required: true
                                }
                            },
                            start: {
                                type: "date",
                                from: "start_time"
                            },
                            end: {
                                type: "date",
                                from: "end_time"
                            },
     
                            description: {
                                from: "case_name"
                            },
                            caseManager: {
                                from: "case_manager",
                                nullable: true
                            },
     
                            mediatorIds: {
                                from: "mediator_LawyerIDs"
                            },
     
                            result: {
                                from: "meeting_result",
                                nullable: true
                            },
                            caseNumber: {
                                from: "case_number",
                                nullable: true
                            },
                            case_location: {
                                from: "location",
                                nullable: true
                            },
                            parties: {
                                from: "parties",
                                nullable: true
                            },
                            numParties: {
                                from: "number_of_parties",
                                nullable: true
                            },
                            created_by: {
                                from: "created_by",
                                nullable: true
                            },
                            creation_timestamp: {
                                from: "creation_timestamp",
                                nullable: true
                            },
     
                            //Recurrence specific fields
                            recurrenceId: {
                                from: "RecurrenceID"
                            },
                            recurrenceRule: {
                                from: "RecurrenceRule"
                            },
                            recurrenceException: {
                                from: "RecurrenceException"
                            },
                            attendies: {
                                from: "Attendies"
                            },
                            type: {
                                from: "Type"
                            },
                            deadline: {
                                from: "Deadline"
                            },
                            priority: {
                                from: "Priority"
                            },
                            labelAs: {
                                from: "LabelAs"
                            }
                        }
                    }
                }
            },

     

    Help is greatly appreciated.

  2. Plamen
    Admin
    Plamen avatar
    2734 posts

    Posted 21 Dec 2015 Link to this post

    Hello,

    I have tested a similar test scenario with the same recurrence fields in the schema and it worked correctly at my side. Here is my dojo page.  Would you please elaborate a little bit how is your scenario different and send us a sample runnable page so we could be more helpful.

    Regards,
    Plamen
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. Andrew
    Andrew avatar
    21 posts
    Member since:
    Dec 2015

    Posted 21 Dec 2015 in reply to Plamen Link to this post

    Sure, attached you'll find my complete JS script and HTML document.
  5. Andrew
    Andrew avatar
    21 posts
    Member since:
    Dec 2015

    Posted 21 Dec 2015 in reply to Andrew Link to this post

    You will also find in that zip file a "Select All" button which is currently non-functional. One issue at a time, however.
  6. Plamen
    Admin
    Plamen avatar
    2734 posts

    Posted 22 Dec 2015 Link to this post

    Hi,

    I have inspected the code yet it was not runnable and could not observe the described issue. It is most probably caused by some custom code in your scenario. In such cases in order to be more helpful with solving the issue we recommend isolating the issue into a sample runnable dojo page where all the custom not related to the control code is removed. 

    Regards,
    Plamen
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  7. Andrew
    Andrew avatar
    21 posts
    Member since:
    Dec 2015

    Posted 22 Dec 2015 Link to this post

    I guess I should have realized the code wouldn't run, as it depends on API calls it probably can't make... My apologies. I'll try to set up my issue in a dojo today.
Back to Top
Kendo UI is VS 2017 Ready