SELECT * FROM [cq:Page] AS page WHERE ISDESCENDANTNODE(page ,"/content/project")Below is the screenshot of the result and query execution steps. You may replace the path with your own project path e.g. /content/project
Count of pages in AEM project |
SELECT * FROM [cq:Page] AS page WHERE ISDESCENDANTNODE(page ,"/content/project")Below is the screenshot of the result and query execution steps. You may replace the path with your own project path e.g. /content/project
Count of pages in AEM project |
While working in Eclipse with Adobe Experience Manager (AEM) code, .content.xml file which is the content file of node structure is not visible in Eclipse project explorer.
This is happening because of the filtration of the file in the project explorer.
To view the .content.xml or any other hidden file which starts with .[dot], remove the following filter from project explorer.
Open Eclipse >> open project explorer >> click on view option >> Filters and Customization
How to open Filters and Customization option in Eclispe. |
A new popup window will appear as below. From here, we need to de-filter the .resources option.
Goto tab Pre-set filters >> uncheck the .*resources >> OK
Eclipse filters and customization option |
Error: Cannot find module 'commander' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object.<anonymous> (E:\assignment\DynamoDBtoCSV\dynamoDBtoCSV.js:1:17) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3)
To install the commander module you need to run the below npm install command.
npm install commander
OR
npm install commander --save
After executing the above command, the Node commander module will get downloaded and save locally in the machine. Below is the snapshot of successful execution.
E:\assignment\DynamoDBtoCSV>npm install commander --save npm notice created a lockfile as package-lock.json. You should commit this file. + commander@6.1.0 added 1 package from 1 contributor and audited 1 package in 1.489s found 0 vulnerabilities