Hi ,
On touch ui dialog ,I am using pathbrowser with predicate as "nosystem" this shows all the sub-nodes available on the page components. But the issue I have is,it shows the sub-nodes of the components available on the page also ,which we don't need.
We would want to restrict the node level only to nodes below par to "/content/page/jcr:content/par/..." .
<reference
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/pathbrowser"
fieldLabel="Reference"
margin="{Boolean}true"
name="./path"
predicate="nosystem"
rootPath="/content"/>
Please let me know how this could be achieved. I saw few examples as https://stackoverflow.com/questions/41677562/how-to-filter-the-pages-visible-in-an-aem-granite-ui-pa...
But i would want a full sample code of AbstractNodePredicate which i could use and change. Please help
Thanks