Skip to main content
JoseBerciano
Level 3
fev. 19, 2016 12:32 PM UTC
Respondido

Showing my app in 'Sites'

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.

Este tópico foi fechado para respostas.
Kunal_Gaba_
Kunal_Gaba_Resposta
New Member
fev. 19, 2016 4:24 PM UTC

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. 

6 Respostas

smacdonald2008
Level 10
fev. 19, 2016 1:52 PM UTC

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. 

Traduzir
JoseBerciano
Level 3
fev. 19, 2016 1:56 PM UTC

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?

Traduzir
JoseBerciano
Level 3
fev. 19, 2016 4:04 PM UTC

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/ ?

Traduzir
Kunal_Gaba_
Kunal_Gaba_Resposta
New Member
fev. 19, 2016 4:24 PM UTC

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. 

Traduzir
Lokesh_Shivalingaiah
Level 10
fev. 19, 2016 4:30 PM UTC

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

Traduzir
JoseBerciano
Level 3
fev. 19, 2016 5:06 PM UTC

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 :)

Traduzir