Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

SiteCatalyst - DashBoard - Report Generation.

Avatar

Level 2

Hi,

Kindly help me on this !!!

I re writing the component : /libs/cq/analytics/components/reporting/reportranked in another location(/apps/cq/analytics/components/reporting/toprankedarticles) with same data.

Now I am replacing /apps/cq/analytics/components/reporting/toprankedarticles/toprankedarticles.jsp with /libs/cq/analytics/components/reporting/report/report.jsp

Here I want to rework on the toprankedarticles.jsp with my requirements.

But we are using an object d3 here, so that I am getting error saying "Uncaught ReferenceError: d3 is not defined."

Kindly help me to know more about the jsp and the object  "d3.json('<%= servletURI + synchronous %>', function(data){........."

and data = CQ_SiteCatalystReport.transformData(data);

How it is been called.

 

 

Thnaks in advance 

Renju Kesavan

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi there,

Thanks for reaching out to Adobe Community.

Please go through the below integration guide to see if it helps:

http://docs.adobe.com/docs/en/aem/6-0/administer/integration/marketing-cloud/sitecatalyst.html

Thanks!

View solution in original post

3 Replies

Avatar

Correct answer by
Level 10

Hi there,

Thanks for reaching out to Adobe Community.

Please go through the below integration guide to see if it helps:

http://docs.adobe.com/docs/en/aem/6-0/administer/integration/marketing-cloud/sitecatalyst.html

Thanks!

Avatar

Level 2

Thanks Shekhar...

I have replace the  /libs/cq/analytics/components/reporting/report/report.jsp file with my code and I called the json by an ajax call directly to read the most read articles.

Now this is working. The code as given below.

I hope this will help for the people who are searching for the same.

$.ajax({

                  type : "GET",

                  url :  <%=servletURI+synchronous%>,
                  data : {
                        JsonPath : <%=servletURI+synchronous%>
                    },
                    success : function(listItems) {

                    .............................

                    .............................

Avatar

Level 10

Hi Renju,

I am glad that it worked for you and thank you for posting the solution.

Thanks1