BoldSign®Effortlessly integrate e-signatures into your app with the BoldSign® API. Create a sandbox account!
Hi, I have one problem. I have Scheduler. I have two functions:
const onPopupOpen = (args) => { if(args.type === "Editor") { console.log(args.data); }}
const onPopupClose = (args) => { if(args.type === "Editor") { console.log(args.data); }
If I create new appointment, I see in console new appo with all properties, and there is Guid and Id. This appo I push into my collection of appointments. Then I doubleclick on appo, made some change and close the Editor. In console I see my appo, but without Id. I need this Id to perform change in my collection. How can I become this Id?
here are results from console. First is new created poo, second result after some changes in Editor.
-----------
Subject: 's',
Location: undefined,
StartTime: Wed Mar 12 2025 10:00:00 GMT+0100 (stredoeurópsky štandardný čas),
EndTime: Wed Mar 12 2025 10:30:00 GMT+0100 (stredoeurópsky štandardný čas),
IsAllDay: false, …}Description: undefinedEndTime: Wed Mar 12 2025 10:30:00 GMT+0100 (stredoeurópsky štandardný čas) {}
EndTimezone: null
Guid: "28aeb694-921b-a2cf-784c-269aa8fb9d5a"
Id: 1
IsAllDay: false
Location: undefined
RecurrenceRule: null
StartTime: Wed Mar 12 2025 10:00:00 GMT+0100 (stredoeurópsky štandardný čas) {}
StartTimezone: null
Subject: "s"
Timezone: false[[Prototype]]: Object
--------------------------------------
Description: undefined
EndTime: Wed Mar 12 2025 10:30:00 GMT+0100 (stredoeurópsky štandardný čas) {}
EndTimezone: null
IsAllDay: false
Location: undefined
RecurrenceRule: null
StartTime: Wed Mar 12 2025 10:00:00 GMT+0100 (stredoeurópsky štandardný čas) {}
StartTimezone: null
Subject: "sss"
const onactionBegin = (args) => { if(args.requestType == 'eventCreate' || args.requestType == 'eventChange') { console.log("Action begin", args.data); } }; |
Yes, this is what I need. Thanks.
Julo
You are welcome, Julo Jenis!
We are glad to hear that our provided solution was worked for you. Get back to us if you need any further assistance.