getValue(date) is not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2025 01:29 AM
Hi Team,
I am trying to get a date value in a variable but unable to fetch the date. Im writing a code on cmn_schedule_span table. I want to get a date field in a variable and display it. While using getValue('mn_schedule_span') or getDisplayValue('mn_schedule_span'), Im only getting null value. Can you please guide how to get the date from the table. Below is my code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2025 02:28 AM - edited 03-05-2025 05:52 AM
Hi @Manju Shree ,
cmn_schedule_span is actually a formatter and not a filed of a table that's why the script is not fetching the value. I don't think it's value can be fetched.
Refer below snip from the form design which show the type of field. Also read about Formatter
If my response helped, please mark it helpful and accept the solution so that it benefits future readers.
Regards,
Rohit