簡體   English   中英

AEM 6.0 | 自定義用戶管理控制台

[英]AEM 6.0 | Customize User Admin Console

我們正在嘗試自定義AEM提供的開箱即用的用戶編輯器控制台(AEM 6.0 SP3,Touch UI)。 但是,我們的更改未得到反映。

預期 :顯示提供的新字段(請參見下面提供的代碼段),並通過資源合並合並到開箱即用的字段中。

實際 :未顯示新字段。

重疊式xml段(用戶詳細信息)位於以下(/apps/granite/security/content/userEditor/.content.xml):

<userdetails
    jcr:primaryType="nt:unstructured"
    sling:resourceType="granite/ui/components/foundation/container"
    class="well user-details-sections-margin">
    <items jcr:primaryType="nt:unstructured">
        <extendedInfoContainer
            jcr:primaryType="nt:unstructured"
            sling:resourceType="granite/ui/components/foundation/container"
            class="extended-container">
            <items jcr:primaryType="nt:unstructured">
                <linkedin
                    jcr:primaryType="nt:unstructured"
                    sling:resourceType="granite/ui/components/foundation/form/textfield"
                    class="save-button-enabler"
                    fieldLabel="LinkedIn"
                    name="./profile/linkedin"
                    value=""/>
                <twitter
                    jcr:primaryType="nt:unstructured"
                    sling:resourceType="granite/ui/components/foundation/form/textfield"
                    class="save-button-enabler"
                    fieldLabel="Twitter"
                    name="./profile/twitter"
                    value=""/>
                <xing
                    jcr:primaryType="nt:unstructured"
                    sling:resourceType="granite/ui/components/foundation/form/textfield"
                    class="save-button-enabler"
                    fieldLabel="xing"
                    name="./profile/xing"
                    value=""/>
                <photo
                    jcr:primaryType="nt:unstructured"
                    sling:resourceType="granite/ui/components/foundation/form/pathbrowser"
                    rootPath="/content/dam/arvato"
                    class="save-button-enabler"
                    fieldLabel="Profile photo"
                    name="./profile/photo"
                    value=""/>
            </items>
        </extendedInfoContainer>
    </items>
</userdetails>

我們遵循以下網址中的說明: https : //docs.adobe.com/docs/zh/aem/6-0/develop/extending/customizing-consoles-touch.html

使用AEM 6.2,相同的方法在不同的項目中效果很好。

您為什么要花時間構建僅由管理員使用的控制台? 它不是最終用戶或您的內容作者使用的功能。 構建精美的控制台毫無意義。 我非常確定,較新版本的AEM將具有更好的控制台OOTB。 AEM 6.3已經具有一個觸摸ui用戶管理控制台。 AEM將在6.4之前完全淘汰經典UI控制台。 我建議只等待Adobe升級,尤其是因為該控制台使用率不高。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM