Skip to main content
Level 2
Oct 16, 2015 2:28 AM UTC
Solved

doubt in generating cq reports

Hi All,

doubt in the report generation

can some one help me to get the value from the below node structure(screenshot) in the reports.

IN the test node i have a property called "richtext".  i tried multiple ways but cannot get the value in the test node. but i am able to get the value in the jcr:content node. i tried using subpath and Resolvers.

can someone please tell me how should i form the "definitions" in the reports

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Sham_HC
Sham_HCAccepted solution
Level 10
Oct 16, 2015 2:28 AM UTC

the ugc report search for cq:Comment nodes & your node is way above it & does not work.  Read the document scott shared & define the query at page level rather than comment level then using subpath your report can be generated. 

6 replies

chocochatAuthor
Level 2
Oct 16, 2015 2:28 AM UTC

HI all,

THis is resolved. I retrived the value from the jcr:path and resolverConfig

Translate
Sham_HC
Sham_HCAccepted solution
Level 10
Oct 16, 2015 2:28 AM UTC

the ugc report search for cq:Comment nodes & your node is way above it & does not work.  Read the document scott shared & define the query at page level rather than comment level then using subpath your report can be generated. 

Translate
chocochatAuthor
Level 2
Oct 16, 2015 2:28 AM UTC

HI Sham,

I am not sure what should i gv in the definition.

below is the screenshot of my node structure

[img]report.jpg[/img]

Translate
chocochatAuthor
Level 2
Oct 16, 2015 2:28 AM UTC

HI

I have already read the link you sent and now generating the custom report.

I have extended the UGC report and customizing it. I am able to get the values from the jcr:content but i am unable to get the values from the path jcr:content/content/test/richtext where richtext has the value that i required.

I would also like to know is it possible to get the value from the path jcr:content/content/test/richtext, If yes please help me in getting the value

 

[img]report.jpg[/img]

Translate
smacdonald2008
Level 10
Oct 16, 2015 2:28 AM UTC

Have you read through this AEM doc topic titled:

"Reporting" @ https://dev.day.com/docs/en/cq/current/administering/reporting.html.

Please let us know. 

Thxs

Translate
Sham_HC
Level 10
Oct 16, 2015 2:28 AM UTC

Could you post snapshot of

  1. node structure &
  2. your report column defnition
Translate