Page 1 of 1

TimeProfile for each resource

Posted: Mon Apr 06, 2020 10:22 am
by Highnoon
Hi,

i am looking for a way to give a time profile to each resource. The working time for each person should be displayed like the 'shade weekends' with nonWorkingTime: true.
So it should be possible to give the profile 'From 9 to 5' to someone or a profile for early birds, party people ...
I know the workingTime config, but this is one profile for all resources. It should be something similar to TimeRanges but not for a special day. It should be repeated for each day like nonWorkingTime.

Maybe its already existing and i could'nt find it. Otherwise it could be a feature request.

Thanks

Re: TimeProfile for each resource

Posted: Mon Apr 06, 2020 10:28 am
by mats
Have you seen https://bryntum.com/examples/scheduler/resourcetimeranges/ ? Is this what you are looking for?

Re: TimeProfile for each resource

Posted: Mon Apr 06, 2020 10:47 am
by Highnoon
Hi mats,

yes in your example it is like this:
 resourceTimeRanges = [
        { id : 1, resourceId : 'r1', startDate : '2019-01-01T11:00', endDate : '2019-01-01T13:00', name : 'Lunch' }, 
        ...
For each day one record.

Im expecting something like this:
 resourceTimeProfiles = [
        { id : 1, resourceId : 'r1', fromHour : '9', toHour : '17', name : '9 to 5' },
        { id : 2, resourceId : 'r2', fromHour : '7', toHour : '15', name : 'Early Bird' },
        { id : 3, resourceId : 'r3', fromHour : '10:30', toHour : '22', name : 'Party' }
         ...
So one profile per resource repeating each day. If doing this with resourceTimeRanges it will result in a huge amout of nearly sensless data.

Hope this makes it clear.

Re: TimeProfile for each resource

Posted: Mon Apr 06, 2020 10:50 am
by mats
Ok you can achieve this using resource calendars in the upcoming Scheduler Pro product being announced later in April.

Re: TimeProfile for each resource

Posted: Sun Apr 19, 2020 10:35 pm
by aswpacc
Is this already available in the new release (3.1.2)?
I am looking forward to implement something like this and for a big data set.

Re: TimeProfile for each resource

Posted: Mon Apr 20, 2020 7:25 am
by mats
No it's a separate Scheduler Pro product, coming soon!