Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

0 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 @tahir1694 

 

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

Community Advisor

Hi @tahir1694 ,

                         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

@tahir1694 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.

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

Avatar

Level 4

Hi @tahir1694 

 

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!