How to browse nt:unstructured node in a path field | Community
Skip to main content
New Participant
November 2, 2015
Solved

How to browse nt:unstructured node in a path field

  • November 2, 2015
  • 4 replies
  • 1927 views

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.
Best answer by kautuk_sahni

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

4 replies

New Participant
November 5, 2015

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
HeenaMadan
New Participant
July 14, 2021
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
kautuk_sahni
kautuk_sahniAccepted solution
Employee
November 3, 2015

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
Sham_HC
New Participant
November 2, 2015

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

edubey
New Participant
November 2, 2015

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

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

Documentation