Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
I am trying to sync the values of two nodes and both are datetime field. I am using ajax call to set value of another node onsubmit of dialog. Problem is id I save through datetime in dialog it saves with timezone information but if I save it through ajax the date converts into UTC(server is in UTC) format and saves. How can we achieve this without conversion?
When you say you are saving the value through and AJAX call can you be a little more specific? Is your AJAX call targeting custom code you have written or the standard Sling POST servlet? Dialog submits are AJAX calls as well, have you tried comparing the dialog submit POST request with your AJAX request to see if there are any differences?
When you say you are saving the value through and AJAX call can you be a little more specific? Is your AJAX call targeting custom code you have written or the standard Sling POST servlet? Dialog submits are AJAX calls as well, have you tried comparing the dialog submit POST request with your AJAX request to see if there are any differences?