Can the embedded scheduler be used to display availability from custom elements/documents and not from the Users or Rooms in the Names.nsf
Many thanks
Can the embedded scheduler be used to display availability from custom elements/documents and not from the Users or Rooms in the Names.nsf
Many thanks
Thank you for your reply.
I am referring to the Embedded Element > Scheduler which can be added to any form or subform in the Designer.
I want to produce a Gantt style calendar for items that will have start and end dates throughout the year. The items will not be users, rooms or resources and will not exists in the Names.nsf.
Whilst the data can be displayed in a Calendar it is better suited to a Gantt style. The Embedded Scheduler would be fine if it can be separated from the users, rooms, resources constraint.
Ok you meant the scheduler embedded in a form.
Yes you can use choices from any other source. you can provide the choices for the "Required People Item",
"Optional People Item", "Rooms" and "Resources" items and other items from any source directory or database or even a custom list.
Embed a scheduler in a form . In scheduler properties "Required People Items" say you set it to "Members" .
Create a multiple value editable Field "Members" (allow multiple items) on the form and ensure form is refreshed on change event. you could populate it from a view in the current database by adding an action
MembersToAdd := @PickList([Custom]; "";"Your View";"Title ";"Prompt";Column);
FIELD Members := MembersToAdd;
FIELD SaveOptions := "1";
FIELD $GroupScheduleRefreshMode := "1";
@Command([ViewRefreshFields])
or create the item "Members" as a dialoglist and add choices from any view from any database via @dbColumn or provide a fixed list.
or use an action with @PickList([NAME];.......) to use data from Domino Directories....
This will populate the rows of the scheduler with your custom data.
You will need to figure out the display in the scheduler though. I guess the system will still look for these items and their details from domino directory to get the relevant display data for the scheduler, although you can populate names and rooms etc from any other database. At the functionality level it seems it is tightly bound to domino directories. Workarounds may be possible though.
Hope this helps
Regards
Actually , you will be much better off doing a custom job on your reqmt of creating a calendar sort of display for items that will have start and end dates throughout the year. I have done that in notesclient as well as for xpages in respect of Course Schedule of various courses in a training institute. every course has a startdate and an end date which could be 20 days, 30 days, 6 months, or say 1 year and three months or any period.
Im briefly describing the scenario from Notes Client Perspective
You have multiple courses and each course has a start date and end date. The whole problem reduces to creating a table with required number of rows and columns and setting the background Color (via backround image for each cell programettically).
This can be displayed in the format you require for say one year perspective..by using a table with dynamic rows equal to number of courses with 12 columns for one year display. It is now a matter of setting the background color via background image formula of the particular column(s) and row(s) based on the start and end date each course. this would color the right months columns.
Now if you wanted to take into account the actual dates too, you will have to use the same logic for each cell by embedding a table with one row and requisite columns into each cell. for example if a course starts on 10 jan and finishes on 12 March. the jan column would be partially colored starting 1/3 of the column width, feb will be completely colored and mar will have initial portion colored proportionately. In Xpages you could use a repeat control reducing the effort whereas in client you will have to cater to atleast the least no of rows and columns required and then provide a button to move down and move left and right. Other issues like what happens on clicking a particular row or particular column is a matter of detail and you will be able to figure out. Let me know if you ant some sample code for this scenario.
regards