In CRXDE Lit Home page if I search anything from jsp file text I get results back, however if I try to search any text from js and css files it doesn't return any results.
Here are my findings, I have picked out of box /libs/foundation/components/carousel/ component I opened jsp, js and css files from these components.
I searched for the term "defines the controls" which is line 91 in carousel.jsp, I see this returns results for carousel.jsp
When I tried "Used to output caught errors" which is line 14 in carousel.js, search doesn't return any results
I tried same for css, term "cq-carousel-banner-item" from line 15 in carousel.css, search returns results for jsp file but nothing for css file.
Above is just an example, but this is consistent across all components.
Solved! Go to Solution.
Views
Replies
Total Likes
Your observations are correct - this is not working on AEM 5.6.
[img]AEM33.png[/img]
As you can see - the exact same query that works on AEM 6 is not working on 5.6.
Please open a ticket here:
https://helpx.adobe.com/marketing-cloud/contact-support.html
Views
Replies
Total Likes
HI Mohammed
You can use xpath to search content - it returns the nodes in which the text is located - see here:
[img]xpath.png[/img]
To do this:
1. From CRX DE lite - click Tools, Query:
[img]xpath2.png[/img]
2. IN the Path field - specify the path that you want to search - ie - /libs/foundation/components/carousel/carousel.jsp.
3. In the Text field - specify Text - ie - defines the controls.
4 - Click Generate. This will generate the XPAth command.
5 - Click Execute.
Views
Replies
Total Likes
Even Query tools don't return any text from js file.
I tried "Used to output caught errors" from line 14 of /libs/foundation/components/carousel/clientlibs/carousel.js
[img]js.jpg[/img]
No results for js files
I tried same for jsp file line 91 of /libs/foundation/components/carousel/carousel.jsp, it returns results
[img]jsp.jpg[/img]
No matter you use query tools or crxde lite search, js and css results are not returned.
I am using CQ 5.6.0
Views
Replies
Total Likes
Can you try selecting the actual node and see if that works. Something like:
[img]AEM6.png[/img]
I am seeing a return value for JS. This worked too for the path value:
/libs/foundation/components/carousel
It brought up:
/libs/foundation/components/carousel/clientlibs/carousel.js
But this is AEM 6. I will try with 5.6.
Views
Replies
Total Likes
Your observations are correct - this is not working on AEM 5.6.
[img]AEM33.png[/img]
As you can see - the exact same query that works on AEM 6 is not working on 5.6.
Please open a ticket here:
https://helpx.adobe.com/marketing-cloud/contact-support.html
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies