SiteCatalyst - DashBoard - Report Generation. | Community
Skip to main content
renju_kesavan
Level 2
October 16, 2015
Solved

SiteCatalyst - DashBoard - Report Generation.

  • October 16, 2015
  • 3 replies
  • 1385 views

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

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 WhoaShekhar

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!

3 replies

WhoaShekhar
WhoaShekharAccepted solution
Level 10
October 16, 2015

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!

renju_kesavan
Level 2
October 16, 2015

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) {

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

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

WhoaShekhar
Level 10
October 16, 2015

Hi Renju,

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

Thanks1