I am trying to figure out what should be returned from the php server when making changes on a scheduler with a crud manager (with sync) and recurrence feature. Would you be able to add an example for this or provide more documentation? The recurrence demo does not show what a server should return, and the crud manager demo does include the recurrence feature.
For example, when I create a daily event, my scheduler only displays one event instead of one for each day. I believe it is because my server is not returning what the scheduler is expecting.
Also, when I make a change to a single event with a repeating series of events, what should be sent to and returned from the server?
Thank you
Support Forum
Hi!
Currently we have no ready to use recurring demo with sync functionality.
But this should be quite easy to implement by adding event's recurrenceRule string field to be stored on server.
https://www.bryntum.com/docs/scheduler/#Scheduler/model/mixin/RecurringTimeSpan#field-recurrenceRule
Currently we have no ready to use recurring demo with sync functionality.
But this should be quite easy to implement by adding event's recurrenceRule string field to be stored on server.
https://www.bryntum.com/docs/scheduler/#Scheduler/model/mixin/RecurringTimeSpan#field-recurrenceRule
Thank you for the quick reply. I am storing the recurrenceRule (and am using the AssignmentStore too). I just don't know what the UI expects to receive from the server in all cases, i.e. when creating a recurring event, updating/removing a single event within a recurring series, deleting an assignment in a repeating series, etc. I have implemented what I thought is needed based on the existing examples, but some things are not working exactly right when dealing with the recurring events. A full example with CrudManager, recurrence feature, and assignmentStore would be very helpful. Things work well when I do not select any repeating option.
I will follow-up this post with sample files for one of your demos for each issue I am experiencing. Thank you.
I will follow-up this post with sample files for one of your demos for each issue I am experiencing. Thank you.
I have updated the crudmanager umd demo, https://www.bryntum.com/examples/scheduler/crudmanager/index.umd.html, with the 3 files attached.
Thank you
- app.umd.js - added an assignmentStore, enabled the recurringEvents, and extended the endDate to show 6 more days on the scheduler
- php/read.php - added an assignments section and moved resourceId values from events into assignments
- php/sync.php - updated to handle assignments. The phantomId in the returned assignment eventId fields are assigned real eventId values
Thank you
- Attachments
-
- crudmanager-umd.zip
- (2.55 KiB) Downloaded 141 times
Hi!
RecurringEvents feature is not released yet for multiple assignments but it is already in development so would be in one of the next releases.
This is the issue you could subscribe to monitor it's state
https://github.com/bryntum/support/issues/308
Also this is issue for creating PHP demo which uses RecurringEvents feature and multiple assignments
https://github.com/bryntum/support/issues/309
As for now you won't be able to use RecurringEvents with assignmentStore yet.
RecurringEvents should work fine in php demo without assignmentStore.
Just add
If you need initial demo data with it you could update this file
Scheduler/examples/php/php/resource/read.php
For example add "recurrenceRule" => "FREQ=DAILY" there.
RecurringEvents feature is not released yet for multiple assignments but it is already in development so would be in one of the next releases.
This is the issue you could subscribe to monitor it's state
https://github.com/bryntum/support/issues/308
Also this is issue for creating PHP demo which uses RecurringEvents feature and multiple assignments
https://github.com/bryntum/support/issues/309
As for now you won't be able to use RecurringEvents with assignmentStore yet.
RecurringEvents should work fine in php demo without assignmentStore.
Just add
features : {
...
recurringEvents : true
},
Scheduler/examples/php/php/resource/read.php
For example add "recurrenceRule" => "FREQ=DAILY" there.
$_SESSION["eventdata"] = array(
array("id" => 1, "resourceId" => 1, "name" => "Serve engine", "startDate" => "2018-05-21 08:00", "duration" => 12, "dt" => date("Y-m-d H:i:s"), "recurrenceRule" => "FREQ=DAILY"),
....
);
I hope you all are staying healthy.
I was wondering if there were any updates on this (using RecurringEvents with AssignmentStore). I have not seen this task assigned to anyone or to a milestone. I was hoping to migrate my application to use your scheduler, but I cannot until this feature is implemented. Thank you
I was wondering if there were any updates on this (using RecurringEvents with AssignmentStore). I have not seen this task assigned to anyone or to a milestone. I was hoping to migrate my application to use your scheduler, but I cannot until this feature is implemented. Thank you
Hi. Alan.
We have this on road map for Q2 this year.
Please note we're also available for Professional Services: https://www.bryntum.com/services
We have this on road map for Q2 this year.
Please note we're also available for Professional Services: https://www.bryntum.com/services