Date-picker not retaining values in multi-field in AEM 6.4 | Community
Skip to main content
Level 3
June 21, 2018
Solved

Date-picker not retaining values in multi-field in AEM 6.4

  • June 21, 2018
  • 15 replies
  • 5588 views

I am using date-picker within a multi-field but when i am saving value in this date-picker and opening the dialog again, I am not able to retain the date-picker value. I have tried this in AEM 6.4

If anyone has faced similar issue, Please let me know what is required to make it work.

Regards,

Priya

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

Hi,

Please check below:

aem63app-repo/datepicker-multi at master · arunpatidar02/aem63app-repo · GitHub

Thanks

Arun

15 replies

arunpatidar
Community Advisor
Community Advisor
June 22, 2018

No, granite Multifield store data in nodes, For JSON store you need to use ACS Common Creating an AEM HTML Template Language 6.3 component that uses a Multifield

But you can read values from Node as well.Or If you need only JSON date you can you Java to read nodes and convert nodes date as a JSON and Store in component nodes.

Thanks
Arun

Arun Patidar
smacdonald2008
Level 10
June 22, 2018

Did you watch the video and read the article. It covers everything you need to make this work. We show it working in the video!

smacdonald2008
Level 10
June 22, 2018

IN AEM 6.4 - no longer use acs-commons multifield, Use granite/coral MF.

This is how granite/coral works - it stores it as NODE data as explained in the article. It does not use JSON.

Ratna_Kumar
Level 10
June 22, 2018

Hi,

I suggest from AEM 6.4 - Please do not use ACS-COMMONS anymore. Please use coral/granite which is explained in the video from Scott.

Thanks,

Ratna Kumar.

Level 3
June 25, 2018

Hi,

Yes i checked the video, actually i was trying to use the multi-field with acs-commons because I wanted to store the data in JSON form. But now it's working fine when I am using coral and it's storing the data in node structure.

Thanks,

Priya