Highlighted

Page Properties dialog is not able to fetch multifield data entered in a custom tab(AEM 6.1)

surendra_prata1

10-01-2018

Hello,

I have a scenario wherein i have a separate template for pages showing course details and course timings. There are two components built(coursedetails and coursetimings) which display details about location wise timings of courses. These components fetch data entered via Page Properties dialog shown below with using java classes:

1391837_pastedImage_4.png

and below is the screenshot how it gets displayed on the page:

1391838_pastedImage_5.png

Whenever we again open the Page Properties dialog these multifield data disappears. Normal component dialogs are able to retain data from multifields in my project, but in case of Page Properties dialog its failing.  How should i make it work ?

Regards,

Surendra

Replies

Highlighted

Joel_Triemstra1

11-01-2018

Which Cumulative Fix Pack are you using? I've heard CFP 11 can cause this behavior. There's a constant CQ.PAGE_PROPERTIES_MAX_RECURSION_LEVEL defined in /libs/cq/ui/widgets/source/constants.js that will interfere with paths like pagenode/jcr:content/level1node/actualpropertynode. You need to overlay that file and increase the recursion level to the depth you require.

Highlighted

surendra_prata1

12-01-2018

Hi Joel,

Thanks for the quick reply. Wrongly mentioned version as AEM 6.1, but i am getting this error for both AEM6.1 and AEM 6.3.

Highlighted

surendra_prata1

12-01-2018

Figured out something more:

When using custom multifield from within a component dialog (for example dialog of metatag component) the node structure which is getting created in crx is as below and everything is working fine

1393511_pastedImage_1.png

But while using the multifield from within Page Properties the node structure which is getting created in crx is as below:

1393512_pastedImage_2.png

Due to this improper creation of nodes , the page properties dialog is not able to fetch stored data.  Any help on how can i resolve this?

Highlighted

edubey

13-01-2018

Its Classic UI multifield, so I am assuming you would have written custom widget.

The format in which you want to store values can always be customized in setValue method.

Highlighted
Highlighted