It has been requested to overlay several resources in the same visual component (DayView, WeekView etc). I think this is possible by introducing something like "TVpResourceGroup", a descendant of TVpResource, which contains a list of the individual resource groups. Events/tasks/contacts of the member resources will be collected in a list of the resource group, the combined list then can easily be displayed in the same DayView with minimum changes in the painting code.
Trying to implement this I noticed that the data fields of Visual PlanIt must be extended: The TVpResource must get a field "Grouped", and there should be a new table "GroupedResources" which lists all the resources belonging to a group.
Since this change must be accompanied by changes in the databases there is a chance that it may break existing applications. If an application uses only the desktop datastores then, I think, everything can be fixed on the fly, but if the datastore accesses a large, remote database then more effort will be needed for the user.
What is the opinion on this?
Possibly it is a good idea to add other new fields along with this change. I am thinking of
Contacts- Email2
- EMail3
- EMailType (home or business)
- EmailType2
- EMailType3
- WebSite
- PathToPhoto
- Photo (as blob) ?
Tasks- Priority (low, normal, high)
- Category (like in Events)
- PercentageCompleted
- Status (not started, in progress, waiting for something, completed, deferred)
- Reminder: AlarmSet, AlarmAdvance, AlarmAdvanceType, DingPath (like in Events)
Events
Resources- Grouped (Flag indicating to collect events, tasks, contacts from member resources)
ResourceGroups- ResourceID of group
- ResourceID of group member resource
Anything missing?
And I think this would be a good chance to remove those "UserDefined" fields. Is anybody using them?
Feedback would be welcome.