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

Avatar

Avatar

surendra_prata1

Avatar

surendra_prata1

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

Avatar

Avatar

Joel_Triemstra1

Avatar

Joel_Triemstra1

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.

Avatar

Avatar

surendra_prata1

Avatar

surendra_prata1

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.

Avatar

Avatar

surendra_prata1

Avatar

surendra_prata1

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?

Avatar

Avatar

edubey

Avatar

edubey

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.

Avatar

Avatar

dewanshis189253

Avatar

dewanshis189253

dewanshis189253

30-04-2018

Hi Team,

Getting same issue multifield component with in page properties not working. Please suggest.

Thanks

Dewanshi

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

30-04-2018

Have you created custom logic for this custom MF?

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

30-04-2018

Please specify online Adobe Docs you are following for this use case so community can try and reproduce.