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

SiteCatalyst - DashBoard - Report Generation.

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.
WhoaShekhar
WhoaShekharAccepted solution
Level 10
Oct 16, 2015 2:29 AM UTC

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
Level 10
Oct 16, 2015 2:29 AM UTC

Hi Renju,

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

Thanks1

Translate
renju_kesavan
Level 2
Oct 16, 2015 2:29 AM UTC

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

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

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

Translate
WhoaShekhar
WhoaShekharAccepted solution
Level 10
Oct 16, 2015 2:29 AM UTC

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!

Translate