내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Customize Homepage in AEM Classic UI

Avatar

Community Advisor

Hi,

I need to add a custom link on AEM HomePage screen. So, I overlaid wcm/core/content in apps and added node with jcr:mixinTypes : cq:Console. The link is getting displayed properly on the top of all above existing links. 

What I need is to display link at the bottom of all already existing links.

How Can I do so?

Thanks,

Himanshu

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Administrator

Hi 

Try adding "sling:vanityOrder": 301 (Bigger number then 300)

Link:- https://edivad.wordpress.com/2013/04/15/customising-cq5s-siteadmin-actions/

//Once you overlayed you could realise that your changes are not reflected by the UI. This is done by the sling:vanityOrder. As /siteadmin is a vanity path pointing to wcm/core/content/siteadmin. The /libs one are picked up. The default value (as of 5.5) is 300. Just update the one under /apps to a greater value. 301 is enough. As practice I like to have my vanitypath order as 400+ though.

 

I hope this will solve your problem.

Thanks and Regards

Kautuk Sahni



Kautuk Sahni

원본 게시물의 솔루션 보기

4 답변 개

Avatar

Level 10

Did you added the node in last?

Can you share node structure screenshot?

Avatar

Level 10

Hi Himanshu,

add a property sling:vanityOrder with lower number value like 20 . This would add your new console at the last

Avatar

Community Advisor

<?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"
    jcr:mixinTypes="[cq:Console]"
    jcr:primaryType="cq:Widget"
    sling:redirect="{Boolean}false"
    sling:resourceType="/apps/webcms-ngtv/components/page/sample-tools"
    sling:vanityPath="/sample"
    consoleDescription="sample"
    consoleTitle="sample"
    iconClass="sample"
    jsLibs="[cq.wcm.admin]"
    title="sample"/>

Also, sling:vanityOrder isn't working if we overlay hierarchy in apps. But, if add node in libs with lower vanityOrder value, then it displays at the bottom. 

Avatar

정확한 답변 작성자:
Administrator

Hi 

Try adding "sling:vanityOrder": 301 (Bigger number then 300)

Link:- https://edivad.wordpress.com/2013/04/15/customising-cq5s-siteadmin-actions/

//Once you overlayed you could realise that your changes are not reflected by the UI. This is done by the sling:vanityOrder. As /siteadmin is a vanity path pointing to wcm/core/content/siteadmin. The /libs one are picked up. The default value (as of 5.5) is 300. Just update the one under /apps to a greater value. 301 is enough. As practice I like to have my vanitypath order as 400+ though.

 

I hope this will solve your problem.

Thanks and Regards

Kautuk Sahni



Kautuk Sahni