AEM Sites shows only pages but not other files(css,js,json) | Community
Skip to main content
TahirNawaz
September 20, 2021

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

  • September 20, 2021
  • 4 replies
  • 1434 views

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?

 

@14414417 @smacdonald 

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

4 replies

Kishore_Kumar_
Level 9
September 20, 2021
TahirNawaz
September 20, 2021

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

 

 

Asutosh_Jena_
Community Advisor
Community Advisor
September 20, 2021

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!

Sanjay_Bangar
Community Advisor
Community Advisor
September 20, 2021

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

kautuk_sahni
Community Manager
Community Manager
September 21, 2021

@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
arunpatidar
Community Advisor
Community Advisor
September 20, 2021

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
Rohit-Negi
Level 3
September 21, 2021

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!