Insert custom fields to appointments table

Hello,

I have created two new fields in the customWindow I want to insert those when a new appointment is created, I have created the structure in the class, web service and db.

Everything works perfectly without those two fields.

But I got the following error when I click save with those 2 fields included.

Can you point me out in the right direction.


Uncaught ejCheckBox: methods/properties can be accessed only after plugin creation
Error: ejCheckBox: methods/properties can be accessed only after plugin creation

ScriptResource.axd?d=rEJWSzm3m6ep7XVIwgIcllmDScBm3yvffrCzK7IArlo4Af6iluk81SMz8Hl4hmpODjl5w_EyczxNUJDsa2NncbnQFhJBeUWQV-Yl5EEKqTlj1d0ejJDuIsSTfFseNuwozHEGsWuvgOA1TN0Lbc4Sw2i-A9e5rKvhiCiJfKFWelhqh1f_TPjzo79QaeGEgipYn7r69V5j4nxtPIpr3-mDUw2&t=ffffffffe8b2549c:10 Uncaught ejCheckBox: methods/properties can be accessed only after plugin creation
Error: ejCheckBox: methods/properties can be accessed only after plugin creation
    at t.throwError (http://localhost:52555/ScriptResource.axd?d=rEJWSzm3m6ep7XVIwgIcllmDScBm3yvffrCzK7IArlo4Af6iluk81SMz8Hl4hmpODjl5w_EyczxNUJDsa2NncbnQFhJBeUWQV-Yl5EEKqTlj1d0ejJDuIsSTfFseNuwozHEGsWuvgOA1TN0Lbc4Sw2i-A9e5rKvhiCiJfKFWelhqh1f_TPjzo79QaeGEgipYn7r69V5j4nxtPIpr3-mDUw2&t=ffffffffe8b2549c:10:29390)
    at r.fn.init.n.fn.(anonymous function) [as ejCheckBox] (http://localhost:52555/ScriptResource.axd?d=rEJWSzm3m6ep7XVIwgIcllmDScBm3yvffrCzK7IArlo4Af6iluk81SMz8Hl4hmpODjl5w_EyczxNUJDsa2NncbnQFhJBeUWQV-Yl5EEKqTlj1d0ejJDuIsSTfFseNuwozHEGsWuvgOA1TN0Lbc4Sw2i-A9e5rKvhiCiJfKFWelhqh1f_TPjzo79QaeGEgipYn7r69V5j4nxtPIpr3-mDUw2&t=ffffffffe8b2549c:10:23124)
    at Object.onButtonClick (http://localhost:52555/Timeline:250:97)
    at Object._trigger (http://localhost:52555/ScriptResource.axd?d=rEJWSzm3m6ep7XVIwgIcllmDScBm3yvffrCzK7IArlo4Af6iluk81SMz8Hl4hmpODjl5w_EyczxNUJDsa2NncbnQFhJBeUWQV-Yl5EEKqTlj1d0ejJDuIsSTfFseNuwozHEGsWuvgOA1TN0Lbc4Sw2i-A9e5rKvhiCiJfKFWelhqh1f_TPjzo79QaeGEgipYn7r69V5j4nxtPIpr3-mDUw2&t=ffffffffe8b2549c:10:13393)
    at Object._btnMouseClickEvent (http://localhost:52555/Scripts/ej.web.all.min.js:10:269209)
    at HTMLButtonElement.<anonymous> (http://localhost:52555/ScriptResource.axd?d=rEJWSzm3m6ep7XVIwgIcllmDScBm3yvffrCzK7IArlo4Af6iluk81SMz8Hl4hmpODjl5w_EyczxNUJDsa2NncbnQFhJBeUWQV-Yl5EEKqTlj1d0ejJDuIsSTfFseNuwozHEGsWuvgOA1TN0Lbc4Sw2i-A9e5rKvhiCiJfKFWelhqh1f_TPjzo79QaeGEgipYn7r69V5j4nxtPIpr3-mDUw2&t=ffffffffe8b2549c:10:27268)
    at HTMLButtonElement.dispatch (http://localhost:52555/Scripts/jquery-3.2.1.min.js:3:10316)
    at HTMLButtonElement.q.handle (http://localhost:52555/Scripts/jquery-3.2.1.min.js:3:8343)

Attachment: Timeline_189ec4f6.zip

3 Replies

AA Arulraj A Syncfusion Team September 27, 2018 12:20 PM UTC

Hi Jose, 
 
Thanks for contacting Syncfusion Support.  
 
 
Javascript code: 
     $(function () {          
            $("#Engineering,#Support").ejCheckBox({ }); 
        }); 
 
Please refer the below UG link to know more about appointment window customization. 
 
Let us know whether this helps also if you need any further assistance on this. 
 
Regards, 
Arulraj A 



JM Jose Melchor Prince Garcia September 29, 2018 01:46 AM UTC

Thank You, I was able to insert the data with the custom fields :D



KK Karthigeyan Krishnamurthi Syncfusion Team October 1, 2018 12:36 PM UTC

Hi Jose, 
 
We are happy that our solution resolved your issue. 
 
Please let us know if you need further assistance. 
 
Regards, 
Karthigeyan 
 


Loader.
Up arrow icon