Steve is right in his answer. I wonder though whether a schedule could be simulated using view models.
My idea is that, for the range that you want to show (say 12 months into the future, 3 months in the past) that you create view model instances using a schedule object as a template. It's about clunky, but I reckon it would work. I think both the Appointment and ScheduledAppointmentVM would implement the CalendarEventable interface (I think that's what it's called). Hth, Dan. On Tue, 21 Nov 2017, 10:37 Stephen Cameron, <[email protected]> wrote: > Simple answer is no > > I've done something similar with a recurring activity, but in that case the > users define one such recurring activity and that has an action to create > new child activities, each one a set time from the last child created. In > your case it could create children for a three month block of time. > > It is useful to differentiate these children from "one-off" activities via > a different coloured icon, changing the icon file used via some state of > the object is easy. In my case if there is parent then show a different > icon. > > The icons aren't visible in the calendar though, use a different calendar > name to get different coloured entities in the display. > > Steve > > On Tue, Nov 21, 2017 at 9:22 PM, Roshan Vishwakarma < > [email protected]> wrote: > > > Hello, > > > > I have a use case related to Full Calendar which I am currently > researching > > on it. > > Below is the use case: > > 1. There are two entity class: > > a. Appointment & > > b. Schedule > > > > Schedule entity has default values stored which is use to display the > fixed > > appointments on all day till 3 months. Example: lunch time this will be > > fixed for all days. > > This Schedule entity will contain only one row into database which has > > multiple columns with fixed start & end time also with "break name" > > > > Appointment entity is used to store the appointments that user has > created. > > Usually it will stored appointment date with start and end time > > > > > > - So now I have to create a Calendar view which will show both > Schedule > > & Appointment in a single Calendar. > > > > > > > > - Is it possible to achieve this? If possible please can I get > > reference. > > > > > > > > Thanks > > Roshan > > >
