How to get encoded query display value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-27-2020 02:43 AM
Hi Everyone,
I want to get date time fields display values so how can i get it in encoded query .
Example: opened on today
opened_atONToday@javascript:gs.beginningOfToday()@javascript:gs.endOfToday()
- Labels:
-
Customer Service Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-27-2020 02:49 AM
Hello,
You can use method of getDisplayValue() by using glideDateTime.
If answer is helpful please mark correct and helpful!
Thanks,
Pratiksha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-27-2020 02:56 AM
Hi
In Addition to Pratiksha would like to share one more KA
Please Mark Correct and Helpful
Thanks and Regards
Gaurav Shirsat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-27-2020 05:19 AM
Hi,
The question seems to be a bit vague. By "encoded query display value" what is exactly needed.
I mean lets say that
opened_atONToday@javascript:gs.beginningOfToday()@javascript:gs.endOfToday()
is not exactly in human readable format, and which dates gets applied when the query is run is not known or so.
Are you looking for something like that?
If that's the case, then see the above is not a static query. It is a dynamic query.
Meaning that if this query is executed today you get a result and if executed tomorrow you get a different result.
If you are looking for how to query a date/time using display value passed in, there are a handful of blog entries in the internet. You can go through them.
Thanks
Balu
