"Schedule Date Range Selector" formatter is not attached to any UI Macro.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2023 11:54 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2023 12:22 PM
Hello @Chandu14,
- The Schedule Date Range Selector formatter is a UI formatter that displays a date range picker on a form. It is not attached to any UI macro, but it uses a script to set the values of the start and end time....
- The script that controls the behavior of the formatter is located in the Formatter field of the UI formatter record. You can access this record by navigating to System UI > Formatters and searching for the name Schedu....
- The script has a variable called duration that defines the default time difference between the start and end time fields. By default, this variable is set to 1 hour (3600000 milliseconds). You can change this variable to 8 hours (28800000 milliseconds) to achieve your desired result.
- Alternatively, you can also create a copy of the original formatter and modify the script as you wish. Then, you can use your custom formatter on any form that you want by adding it to the form layout.
I hope this helps
Kind Regards,
Swarnadeep Nandy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2023 09:11 PM
Hi, Thanks for the reply,
But unable to find the script which sets start time & End Time, Could you please guide me on that , so that I can modify the script accordingly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2024 05:24 AM
There is a child table called cmn_schedule_span that holds the values specific to the start date/time, end date time, duration, etc. It has a parent reference field just called schedule to link back to the parent schedule record. The cmn_schedule_span table is where you can update these values.