New id from server in datastore with scheduler

Hello,

I have a datastore, connected to a scheduler.
When a new appointment is created in scheduler it comes in the datastore.
The datastore sends it to server with dataprocessor.
The server sends back a new ID.
Is it possible to give the appointment the new ID?

regards,

Laurens

Hi

If you are using something like scheduler.sync(datastore); then id in the scheduler must be updated automatically.
Please check that server side response has valid format and correct id and new id values.

Hello Stanislav,

Response of server is:

regards,

Laurens Bol

Fix was sent by PM. The same fix will be included in the next version of dhtmlx suite.

Thanx very much,

I’ll try asap.

Laurens

Hallo Stanislav,

In dhtmlx 5.0 I have the following error:

09:27:34.641 TypeError: dhx.uid is not a function
Scheduler.$syncFactory/scheduler._initBindSource()store.patch.js:63
Scheduler.$syncFactory/scheduler.sync()store.patch.js:6
init()planningtestb.php:52
onload()planningtestb.php:1
1store.patch.js:63:27

In dhtmlx 4.6 the patch gives no errors

greetings,

Laurens