How to pre fill datetime fields in a form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-28-2017 02:18 AM
Im trying to create a form that has pre filled date fields. I tried using ISO 8061 date formats that get pre filled correctly and show the date picker correctly. But when I do not make any changes (do not pick any other date via date picker) and leave in the pre filled date while submitting, I get an error. Looking at the logs the ISO 8061 default value that I put in as the default value does not get correctly converted into long value. This works correctly if I choose any other date via the date picker.
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-28-2017 02:22 PM
Could you provide these logs you speak of? I see no reason why there should be an attempt to shoehorn an ISO 8601 datetime expression into a long value...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-28-2017 03:18 PM
Hi Axel, thank you for replying.
Here's the log file containing the error. https://pastebin.com/raw/KiCfXjER
Here's the bpmn file too if it helps : https://pastebin.com/raw/kwZZ069w
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-29-2017 05:31 PM
Ok, from the log file it is pretty apparent that this issue is not at all Alfresco-related. You are working with the Collibra Data Governance Center, which internally uses the Activiti engine. We could move this question into the space for Activiti-related topics (Alfresco Process Services & Activiti (BPM)), but the value conversion is being done by a Collibra-specific component (CustomDateTimeFormType) and thus you should file your question with that commercial vendor instead of this community platform, which does not deal with the specific product.
