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

Showing my app in 'Sites'

Avatar

Level 3

Hi all,

I have developed a new AEM App, and one of the features I would like to include is to allow authors to manage their language copies to help them with the translation for different languages. So following the documentation (https://docs.adobe.com/docs/en/aem/6-0/administer/sites/languages.html#par_title_11) I should be able to see my app folder under 'Sites', but it looks as though only those websites under specific locations within the AEM server are shown here:

Is it possible to add the path of my app to be able to see it here and start working with it? 

The content location of my app is under /content/phonegap/com/joseb/visitor/

I am using AEM 6.1 with the latest hotfixes installed.

 

If there is anything else you need from me let me know.

 

Thanks in advance.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Yes you are right. The phonegap folder is indeed excluded to be shown under Sites node. The exclude property is set on the following node - /libs/wcm/core/content/sites/jcr:content/body/content/content/items/childpages/datasource. If you remove phonegap from the exclude pattern then it does show up under sites. 

View solution in original post

6 Replies

Avatar

Level 10

YOu are correct - this is the proper documentation to follow for your use case: 

https://docs.adobe.com/docs/en/aem/6-0/administer/sites/languages.html#par_title_11

All Apps that you define under /apps show up. THen you can follow the docs for your given AEM App project. 

Avatar

Level 3

smacdonald2008 wrote...

YOu are correct - this is the proper documentation to follow for your use case: 

https://docs.adobe.com/docs/en/aem/6-0/administer/sites/languages.html#par_title_11

All Apps that you define under /apps show up. THen you can follow the docs for your given AEM App project. 

 

Thanks for your quick reply Scott.

Yeah so that's the thing, my app is under /apps but I do not get to see it when I open the 'Sites' page in AEM. Do you have any idea why is this happening?

Avatar

Level 3

I've also checked some example apps I've used as a reference when developing (Kitchen Sink and AEM Starter Kit) and I do not see them either in "Sites".

I am guessing that this has to do with the app being under the wrong folder /content/phonegap/ ?

Avatar

Correct answer by
Employee Advisor

Yes you are right. The phonegap folder is indeed excluded to be shown under Sites node. The exclude property is set on the following node - /libs/wcm/core/content/sites/jcr:content/body/content/content/items/childpages/datasource. If you remove phonegap from the exclude pattern then it does show up under sites. 

Avatar

Level 10

You will have to create pages under /content for your new app using the templates created under /app to be listed in sites.

Avatar

Level 3

kunal23 wrote...

Yes you are right. The phonegap folder is indeed excluded to be shown under Sites node. The exclude property is set on the following node - /libs/wcm/core/content/sites/jcr:content/body/content/content/items/childpages/datasource. If you remove phonegap from the exclude pattern then it does show up under sites. 

 

 

Thanks! I think that is pretty much what I need instead of refactoring the whole app :)