Is there a constant in CQ 5.6.x APIs with the value of the "cq" namespace and the "cq:PageContent" node type? | Community
Skip to main content
LinearGradient
Level 6
October 16, 2015
Solved

Is there a constant in CQ 5.6.x APIs with the value of the "cq" namespace and the "cq:PageContent" node type?

  • October 16, 2015
  • 1 reply
  • 1039 views

The closest thing I could found is, com.day.cq.wcm.api.NameConstants but it of course doesn't contain a constant value for "cq" as well as "cq:PageContent".

Thanks.

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 Sham_HC

LinearGradient wrote...

The closest thing I could found is, com.day.cq.wcm.api.NameConstants but it of course doesn't contain a constant value for "cq" as well as "cq:PageContent".

Thanks.

 

All registered namespace at [1] . Use jcr NamespaceRegistry api to get those. Similarly for node types

[1]    http://localhost:4502/crx/explorer/ui/namespace_editor.jsp?ck=1407264696745&Path=&Callback=reload

1 reply

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

LinearGradient wrote...

The closest thing I could found is, com.day.cq.wcm.api.NameConstants but it of course doesn't contain a constant value for "cq" as well as "cq:PageContent".

Thanks.

 

All registered namespace at [1] . Use jcr NamespaceRegistry api to get those. Similarly for node types

[1]    http://localhost:4502/crx/explorer/ui/namespace_editor.jsp?ck=1407264696745&Path=&Callback=reload