You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Fetch Report Results using Custom Script of Report

edited May 8, 2019 10:08AM in Reporting & Analytics for B2C Service 3 comments

Content

Hi, 

I want to fetch the records of another report using the custom script feature of the report. 

Have tried the below code:

 

Code Snippet

$holidays = array();

   $ar = Rightnow\Connect\v1_3\AnalyticsReport::fetch(100384);
   $arr = $ar->run(0);

   if ($arr->count() > 0) {
    $rows[0][4]->val = $arr->count();
   }

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!