Here is an example of "schedule" model using modern calendar view.The standard is "month" display, but you can switch between "day" "4 days" "week".
When you press the title part with the mouse, a dialog showing the detailed information opens.From this dialog, you can perform "transition to detail screen", "transition to update screen", "delete".
It shows the definition of the schedule model.The "start date time" and "end date time" items are "date and time type" respectively.
Open "Screen> View> Calendar View".Check "Create screen" and set the page title.
"Display method" "modern" I will.
Assign item of model to item setting field.There are the following rules.
|Setting value||Type of corresponding item||Description||Required|
|Start date and time||Date Time||Based on this date information, display in calendar view.||○|
|End date and time||Date Time||Based on this date information, display in calendar view.Start date and time and end date and time can span multiple days.(From May 1st to May 5th, etc.)||○|
|title||String, integer, model reference||It is defined as an item to be displayed in the calendar view.||○|
|Person in charge||String, integer, model reference||It is defined as an item to be displayed in the calendar view.||-|
|All day||Refer to Calendar All Day Flag Model||If this value is set, it will be treated as an all day event.[To be described later]||-|
Prepare the "Schedule Calendar View" button in the menu.Here the background color is also changing.
You can specify the color of the model.This is an example of changing to "orange".
Prepare the "ask" model.We will use calendar view.
In the calendar view of the previously prepared "schedule" model, specify the query model in "Simultaneously display model".(Please enter the model ID "ask".)
Multiple models can also be specified.If more than one is specified, describe the model ID with ", (comma)" delimiter. Example: model A, model B
In the schedule calendar view, inquiry models are also displayed at the same time.Here, the display color is set for each model.
In the inquiry model, we do not specify a model to display at the same time.In this case, only the user (event model) is displayed in the calendar view of the event model.
You can specify the time display range (start time, end time) of the calendar.
It will be displayed in the range from the specified start time to the end time in "day" "4 days" "week" format.
You can drag and drop the schedule on the calendar.You can change the date and time.
We can make that event "all day".In the case of monthly units, the display method will change.
For weekly units, it is displayed at the top of the start time axis.
Prepare the item to store the all day flag.
Refer to the "Calendar all day flag" provided by the system.The input type should be either "list box", "radio button" or "check box".
When registering the target event, the start date time is 0 hour 0 minute as the starting point, the end date time is0:00 on the next dayPlease.In addition, please set the all day flag.
Double clicking on the calendar date opens a new registration dialog.
At the timing of the "initial value> at the time of registration screen display", specifies the formula for receiving the parameters to be passed from the dialog.The target corresponds to "start date and time" "end date and time" "title".
The expression is as follows.
|Start date and time||DATETIMEVALUE(REQUEST("jfcCalendarStartDateTime"))|
|End date and time||DATETIMEVALUE(REQUEST("jfcCalendarEndDateTime"))|
|All day flag
(When check box is selected)
Modern calendar view internally uses the REST API.Therefore, you can use the ISREST function to set "to set initial values of different search conditions in normal search screen and modern calendar view".
IF(ISREST(), モダンカレンダビューでの検索条件初期値, 通常の検索画面での検索条件初期値)
In the numeric type field, in the modern calendar view, search conditions are not specified, and when you specify the initial value 1 in the normal search screen, it becomes as follows.
Wagby is Japan holiday information "JapanHolidays.ics" provided by mozilla Are bundled. It is described in iCalendar format.
Holidays information of other countries can also be applied. For details, please read "Change messages/Internationalization> Change holiday file".
You can also set your own holiday information such as company's anniversary of founding. For details, please read "Calendar View (Classic)> Handling of Holiday".
Classic calendar viewYou can convert the data registered in the modern calendar view.