Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
Fetch Report Results using Custom Script of Report — Cloud Customer Connect
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

Accepted answer
51
Views
3
Comments
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!