How to browse nt:unstructured node in a path field | Community
Skip to main content
Level 4
Nov 2, 2015 12:22 AM UTC
Solved

How to browse nt:unstructured node in a path field

Hi All,

I want to give author ability to author to choose a nt:unstructured node in my path field, is there any property on this xtype which i can add to make this happen.

Thanks!

Shehjad

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
kautuk_sahni
kautuk_sahniAccepted solution
Employee
Nov 3, 2015 9:22 AM UTC

Hi Shehjadkhan

As mentioned by sham, path field dose not check for node type. 

You can use JCR API, Query builder API or Query builder API to do so.

Link:- https://helpx.adobe.com/experience-manager/using/programmatically-accessing-cq-content-using.html

Link:- https://docs.adobe.com/docs/en/cq/5-6-1/dam/customizing_and_extendingcq5dam/query_builder.html

Link:- https://helpx.adobe.com/experience-manager/using/jqom.html

 

I hope this would act as some of the help.

 

Thanks and Regards

Kautuk Sahni

Kautuk Sahni

5 replies

Level 4
Nov 5, 2015 5:36 AM UTC

Hi All,

I was able to solve this problem by adding below property on pathfield xtype, which allowed me to browse nt:unstructured node

      
predicate
String
nosystem
Translate
HeenaMadan
New Participant
Jul 14, 2021 10:44 PM UTC
Hi Shehjadkhan, I have same requirement to show data of nt:unstructured node. I added predicate="nosystem" but still it is not rendering nt:unstructured nodes. Could you please help me. thanks
Translate
kautuk_sahni
kautuk_sahniAccepted solution
Employee
Nov 3, 2015 9:22 AM UTC

Hi Shehjadkhan

As mentioned by sham, path field dose not check for node type. 

You can use JCR API, Query builder API or Query builder API to do so.

Link:- https://helpx.adobe.com/experience-manager/using/programmatically-accessing-cq-content-using.html

Link:- https://docs.adobe.com/docs/en/cq/5-6-1/dam/customizing_and_extendingcq5dam/query_builder.html

Link:- https://helpx.adobe.com/experience-manager/using/jqom.html

 

I hope this would act as some of the help.

 

Thanks and Regards

Kautuk Sahni

Translate
Kautuk Sahni
Sham_HC
Level 10
Nov 2, 2015 2:17 PM UTC

Path field does not check for node type. Make sure user trying to verify have access to the node.

Translate
edubey
Level 10
Nov 2, 2015 4:59 AM UTC

can you give more details on where is that nt:unstructured node exist ?

You can use predicate with value nosystem , give rootPath as /

Documentation

Translate