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

AEM Sites shows only pages but not other files(css,js,json)

Avatar

Level 1

In classis UI Siteadmin shows all hierarchy of files whereas in touch UI aem sites we can see only pages but not other files. How Do I enable other files?

 

@arunpatidar26 @smacdonald 

 

 

1 Accepted Solution

Avatar

Community Advisor

Hi,

In touch UI, it is not possible.

The code related file should not be created inside the /content, it should be inside /apps.

However the autorable json can be uploaded into the DAM.

 

Thanks

Arun



Arun Patidar
8 Replies

Avatar

Level 1

Hi Kishore,

 

I want to see this file in aem sites but it is not visible though the file can be viewed in crx/de

localhost:4502/sites.html/content/xyz/script/gx/en/office-locator/data/offices/offices-data_en-gb.json

 

tahir1694_0-1632128995692.png

 

Avatar

Community Advisor

Hi @TahirNawaz 

 

This is a .json file and will not be visible in the content explorer. It can be visible only in crx/de.

 

Only HTML files with jcr:content node will be visible in sites.html.

 

Thanks!

Avatar

Level 1

ok. Is there a way to see other files just how siteadmin shows other files?

Avatar

Community Advisor

Hi @TahirNawaz ,

                         In touch UI this option is present in different way.

You need to localhost:4502/aem/start.html and then clik on folder whatever you want.

There is no such to enable option .

 

 

Kr,

Sanjay

Avatar

Administrator

@TahirNawaz Thank you for sharing the solution with the AEM community. Looking forward to more contribution from you here. Great to have AEM SMEs like you here. Keep it up.



Kautuk Sahni

Avatar

Community Advisor

Hi,

In touch UI, it is not possible.

The code related file should not be created inside the /content, it should be inside /apps.

However the autorable json can be uploaded into the DAM.

 

Thanks

Arun



Arun Patidar

Avatar

Level 4

Hi @TahirNawaz 

 

Json will be visible only as an Asset, So if uploaded as an asset then it will be visible in touch UI else not.

 

Thanks!