Datetime variable - time picker is diferent on service portal vs. platform view
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2024 11:29 AM
Hi,
I am working on a new catalog item and added a datetime variable. I noticed that if you click "Try it" there is the calendar and the can enter time using hours, minutes, seconds fields. However when viewing the catalog item on the portal, there are no hours, minutes, seconds fields to enter time...instead the user sees a little "clock" and when clicked that brings up a picker with arrows to pick hour and minutes.
Does anyone know how to configure it so the hours, minutes, seconds fields show for the variable on the portal view? I prefer to use that format when user selects time on the datetime variable, instead of the "clock" and hour and minute picker I am seeing now. We recently upgraded to Vancouver, not sure if this was something introduced on that release.
Here's a screenshot of what it looks like when viewing with "Try it" (notice hours, minutes, seconds fields):
And here's what it looks like on the portal (noticed little "clock"):
And here's the hour and minute picker that comes up after the "clock" is clicked.
Thanks in advance for any guidance on this,
-Chris

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2024 10:29 AM
Unfortunately the date/time field doesn't support any variable attributes in order for you to modify it's behaviour. In order to have a comparable date/time picker to the core UI, you'd have to create a custom variable type (which would involve technical debt).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2024 03:14 PM
@Kieran Anson Do we know if ANYTHING at all can be done with the standard date/time field to customize it or block off sections?