How to auto populate date fields in Agent Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2022 10:22 AM
I've created UI Policies, Client Scripts, and Business Rules to auto populate date fields in Agent Workspace and none of them are working. HELP!
In each of the methods above, I've primarily tried (as an example):
var today_date = new Date(); var today_date_str = formatDate(today_date, g_user_date_format); g_form.setValue('u_date', today_date_str); //Set current date
...and the date field in Agent Workspace is always blank. It works fine in the platform UI for the same field but not in Agent Workspace. What am I doing wrong or missing to get ANY date field to auto populate?!?
Thanks,
Brandon
- Labels:
-
Agent Workspace

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2022 03:06 PM - edited 10-27-2022 03:06 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2022 02:45 PM
We are having issues with this as well. We do not want to uncheck Global because we do want it to apply on all forms. Brandon, you want want to subscribe to this post as well.