Highlighted

Customize page dialog aem 6.4

Avatar

Avatar

serg_kovalenko

Avatar

serg_kovalenko

serg_kovalenko

23-02-2018

I want to add some field to page dialog, in the previous version of aem (6.3), I do it

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

<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/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"

    jcr:primaryType="nt:unstructured">

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

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

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

                <items

                    jcr:primaryType="nt:unstructured"

                    sling:hideChildren="permissions">

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

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

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

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

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

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

                                            <customfield

                                                cq:showOnCreate="{Boolean}true"

                                                jcr:primaryType="nt:unstructured"

                                                sling:orderBefore="tags"

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

                                                fieldLabel="Custom Field"

                                                name="./customfield"

                                                renderReadOnly="{Boolean}true"/>

                                        </items>

                                    </title>

                                </items>

                            </column>

                        </items>

                    </basic>

                    <custom

                        jcr:primaryType="nt:unstructured"

                        jcr:title="Custom"

                        sling:orderBefore="advanced"

                        sling:resourceType="granite/ui/components/coral/foundation/fixedcolumns">

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

                            <column

                                jcr:primaryType="nt:unstructured"

                                sling:resourceType="granite/ui/components/coral/foundation/container">

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

                                    <fieldset

                                        jcr:primaryType="nt:unstructured"

                                        jcr:title="Custom Field Set"

                                        sling:resourceType="granite/ui/components/coral/foundation/form/fieldset"/>

                                </items>

                            </column>

                        </items>

                    </custom>

                </items>

            </tabs>

        </items>

    </content>

</jcr:root>

How I can do it on aem 6.4?

Replies

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

23-02-2018

We cannot comment on AEM 6.4 until its released!