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

assign filter and variable values to a Field in report

edited Jan 2, 2020 4:57PM in Reporting & Analytics for B2C Service 1 comment

Summary

assign filter and variable values to a Field

Content

Hi ,

I am trying to fetch filter and variable values from custom script.

I used the following code in Init tab of custom script.

$filters = print_r($params, true);

in Process tab the below code is used

---------------------------------------------------------------------

global $filters;

$varibleValue = $filters["param_args"]["param_item0"]["val"];

$filterValue = $filters["search_args"]["search_field0"]["val"];


$rows[0][2]->val  = $varibleValue;
$rows[0][1]->val  = $filterValue ;

----------------------------------------------------------------------------

I shared the output as attachment. Can some one help me to see the value rather as an array for the fields.

Regards

Jagadeesh G

 

 

 

Version

19B

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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