AEM 6.4 Touch UI Page Properties | Community
Skip to main content
New Participant
July 31, 2018
Solved

AEM 6.4 Touch UI Page Properties

  • July 31, 2018
  • 11 replies
  • 9573 views

I'm trying to add additional fields to a page component that is extending /libs/wcm/foundation/components/basicpage/v1/basicpage

I have tried following the official documentation:

Customizing Views of Page Properties

GitHub - Adobe-Marketing-Cloud/aem-authoring-extension-page-dialog

This does not seem to work.  On both Edit and Create, I see the default fields only, and not the additional fields I've created.

Has the process for adding fields changed in AEM 6.4?  I have noticed that the configuration for the tabs has been moved from the cq:dialog node and now have individual nodes in a folder called tabs in the root of the component.  Could this be why I am unable to extend the dialog?

Here is what I have inside my page in cq:dialog:

<?xml version="1.0" encoding="UTF-8"?>

<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:granite="http://www.adobe.com/jcr/granite/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:rep="internal"

          jcr:primaryType="nt:unstructured">

    <content

        jcr:primaryType="nt:unstructured">

        <items jcr:primaryType="nt:unstructured">

            <tabs jcr:primaryType="nt:unstructured">

                <items jcr:primaryType="nt:unstructured">

                    <basic jcr:primaryType="nt:unstructured">

                        <layout

                            jcr:primaryType="nt:unstructured"

                            sling:resourceType="granite/ui/components/foundation/layouts/fixedcolumns"

                            margin="{Boolean}false"/>

                        <items jcr:primaryType="nt:unstructured">

                            <column jcr:primaryType="nt:unstructured">

                                <items jcr:primaryType="nt:unstructured">

                                    <moretitles jcr:primaryType="nt:unstructured">

                                        <items jcr:primaryType="nt:unstructured">

                                            <twitterTitle

                                                jcr:primaryType="nt:unstructured"

                                                sling:resourceType="granite/ui/components/foundation/form/textfield"

                                                fieldLabel="Twitter Title"

                                                name="./twitterTitle"

                                                cq:showOnCreate="{Boolean}true" />

                                            <facebookTitle

                                                jcr:primaryType="nt:unstructured"

                                                sling:resourceType="granite/ui/components/foundation/form/textfield"

                                                fieldLabel="Facebook Title"

                                                name="./facebookTitle"

                                                cq:showOnCreate="{Boolean}true" />

                                            <facebookDescription

                                                jcr:primaryType="nt:unstructured"

                                                sling:resourceType="granite/ui/components/foundation/form/textarea"

                                                fieldLabel="Facebook Description"

                                                name="./facebookDescription"

                                                cq:showOnCreate="{Boolean}true" />

                                        </items>

                                    </moretitles>

                                </items>

                            </column>

                        </items>

                    </basic>

                </items>

            </tabs>

        </items>

    </content>

</jcr:root>

Any help will be greatly appreciated.

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

Yes, you can try create page using /libs/wcm/foundation/components/basicpage/v1/basicpage if you don't have core components.

I tried in 6.4 works fine.

If you want to edit existing tabs, just copy that that dialog(or create new) and  when you inherite use dialog path as your custom dialog path.

11 replies

smacdonald2008
New Participant
July 31, 2018

Did you try to create a proxy core component using the Page Core component? Then provide additional props.