Expand my Community achievements bar.

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.
SOLVED

Custom multifield in page properties not working as expected in classic UI( AEM 6.4 version)

Avatar

Level 2

We are using custom multi field(multicompositefield) in page properties which saving the values as child node, able to add the values in dialog and those are saving fine, but when we open the dialog, the values are not getting populated in the dialog. The dialog is working fine when it is added as component dialog, issue happening when only the dialog is part of page properties, please suggest how to resolve this issue in classic UI.

1 Accepted Solution

Avatar

Correct answer by
Level 2

If we open the page properties, "page-path/jcr:content.1.json" request is going and its taking the node values with first level, the multicompositefield values are stored in inner levels, due to that those values are not getting populated in the dialog.

we can overcome this behavior by changing the constant CQ.PAGE_PROPERTIES_MAX_RECURSION_LEVEL value,this constant value controls the maximum depth of the node subtree under the page /jcr:content node, this can be change by overlaying the constants.js(/libs/cq/ui/widgets/source/constants.js) file.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 2

If we open the page properties, "page-path/jcr:content.1.json" request is going and its taking the node values with first level, the multicompositefield values are stored in inner levels, due to that those values are not getting populated in the dialog.

we can overcome this behavior by changing the constant CQ.PAGE_PROPERTIES_MAX_RECURSION_LEVEL value,this constant value controls the maximum depth of the node subtree under the page /jcr:content node, this can be change by overlaying the constants.js(/libs/cq/ui/widgets/source/constants.js) file.