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

Execute Report on CP

Accepted answer
edited May 25, 2018 12:26AM in Customer Portal 2 comments


Hi Team,

I have a report with product hierarchy as the filter , I want to show this report on customer portal page for a given product. I will get the product id from url. But the report is not executing. As part of R&D I tried to run the report with custom script, when I tried with integer filters the report executed, and with  Menu filter (product hierarchy) is not executing.  Below is the code snippet I tried

$prod_filter= new RNCPHP\AnalyticsReportSearchFilter;
$prod_filter->Name = 'Product';
$prod_filter->Values = array(101);

$filters = new RNCPHP\AnalyticsReportSearchFilterArray;
$filters[] = $prod_filter;

Howdy, Stranger!

Log In

To view full details, sign in.


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