Need to identify a query based on the property availability
I'm using AEM 6.5.11. Can someone help me with a XPATH query that could give me the list of pages which has the particular property inside a particular node.
Below are details;
Page node: /content/sample-bank/personal/form
Type: cq:Page
property name: eventscript
property type: String
Please find the below screenshot - I want to get the list of pages under content path /content/sample-bank/personal/form, eventscript is one of the property in container node as shown below.

Note: There are 1000 of subpages under the cq:Page /content/sample-bank/personal/form which could have or don't have the property eventscript in the node /jcr:content/content/container
Kindly help. Thanks in advance.
Thanks
SHYAMSUNDAR TK

