search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Multiple resource lines for one resource

Asked by Anonymous
8 years ago.

Currently looking at DayPilot as a replacement for some old software we use.

Is it possible multiple "event" lines for a single resource on the scheduler? What we have in our database is for a record we have a team (the resource), task, event, location. Currently we are able to show all 3 lines (task, event and location) for that team. S ....

Team 1

  • Event
  • Location
  • Task

Team 2

  • Event
  • Location
  • Task

etc

Answer posted by Dan Letecky [DayPilot]
8 years ago.

Yes, that's possible using the "Resource Tree" feature:
https://doc.daypilot.org/scheduler/resource-tree/

Comment posted by Anonymous
8 years ago.

My problem is that a single record (ie the same table) has fields for team, task, event, location. I've used the resource tree (for rooms within the building), but What I want is the "parent line" to be blank (ok, easy, know how to do) then for each team to have three child "resources" (Event, Location, Task) which relate to fields within the table. So you might have a records along the lines of

Team - Alpha
Start - 01 Jan 2016
End - 02 Jan 2016
Event - Pre-Event Meeting
Location - London
Task - Antiques Roadshow

Team - Alpha
Start - 03 Jan 2016
End - 03 Jan 2016
Event - Setup Event
Location - Buckingham Palace
Task - Antiques Roadshow

Team - Alpha
Start - 04 Jan 2016
End - 06 Jan 2016
Event - Filming
Location - Buckingham Palace
Task - Antiques Roadshow

Team - Alpha
Start - 07 Jan 2016
End - 07 Jan 2016
Event - Teardown and Cleanup
Location - Buckingham Palace
Task - Antiques Roadshow

Team - Alpha
Start - 08 Jan 2016
End - 09 Jan 2016
Event - Post-Event Meeting/Lessons Learnt
Location - London
Task - Antiques Roadshow

Comment posted by Dan Letecky [DayPilot]
8 years ago.

OK, I see.

The Scheduler requires time and a resource id in order to display an event in the correct location in the grid. In your case you'll need to pass each event to the Scheduler as three records - one record for each location in the tree.

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.