Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

How to define a new page for adding new one feature link on the right pane of welcome

Avatar

Former Community Member

Now i want to add new link on the right pane, press the link to open new page "test.jsp" or "test.html", please see below attached screenshot. According to i get learned, developer could add this new feature below /libs/cq/core/content/welcome/features/newLink like the other feature.

As a result i can see the new link appear there, and i know to add it's new property sling:target (value is url) to link the page. But i don't know where to define the jsp page and how to map a url to that page like the other feature or resource? Take "Web Console" for example, it's sling: target value is "/system/console/configMgr", but i don't know where define and map the url to a page?  Anyone could help see that? 

Thanks a lot in advance.

[img]newlink.jpg[/img]

1 Accepted Solution

Avatar

Correct answer by
Level 10
  • Firstly make sure to overylay at apps rather than modfying directly in libs
  • The link can be anything like webconsole plugin or your servlet or your page that is valid. To develop servlet refer [1] or create component which has jsp use [2].  To map to existing page give direct path. Ex:-  /content/geometrixx/en.html
  • If you familiar with eclipse use [3] the example comes has all the component, servlet, osgi to get started quickly.

[1]  http://blogs.adobe.com/aaa/2012/09/cq-tips-and-tricks-1-how-to-define-a-slingservlet-cq5-5-5-6.html

[2]   http://dev.day.com/docs/en/cq/current/developing/components.html

[3]    http://dev.day.com/content/ddc/en/gems/aem-developer-tools-for-eclipse.html

View solution in original post

4 Replies

Avatar

Correct answer by
Level 10
  • Firstly make sure to overylay at apps rather than modfying directly in libs
  • The link can be anything like webconsole plugin or your servlet or your page that is valid. To develop servlet refer [1] or create component which has jsp use [2].  To map to existing page give direct path. Ex:-  /content/geometrixx/en.html
  • If you familiar with eclipse use [3] the example comes has all the component, servlet, osgi to get started quickly.

[1]  http://blogs.adobe.com/aaa/2012/09/cq-tips-and-tricks-1-how-to-define-a-slingservlet-cq5-5-5-6.html

[2]   http://dev.day.com/docs/en/cq/current/developing/components.html

[3]    http://dev.day.com/content/ddc/en/gems/aem-developer-tools-for-eclipse.html

Avatar

Level 10

What i would recommend is going through this AEM tutorial. It covers linking AEM content and will provide you a better understanding:

http://docs.adobe.com/docs/en/aem/6-0/develop/the-basics/website.html

Avatar

Former Community Member

Great article, thank you so much.

And now i encounter another weried problem ,could you possibly help see it. Thanks in advance.

Why OSGI service cannot be resolved to a type?

help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.3_ciot.html/forum__ihhl-according_tothisar.html

Avatar

Former Community Member

So nice article, i get much useful information from that.

And now i encounter another weried problem ,could you possibly help see it. Thanks in advance.

Why OSGI service cannot be resolved to a type?

help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.3_ciot.html/forum__ihhl-according_tothisar.html