Run-time report filtering
Content
Hello developers,
I was looking for some topics on run-time report filtering in the Customer Portal.
It took a while to understand how it all works as I was trying to solve a, I thought, simple problem...
The case was: Create a custom widget and filter a report on three fields: product, category and a custom field and then show it in the widgets view. A daily task, right?
Oke, I'll skip the part "banging my head to a certain wall", here's the code... (framework 3.x)
/* Create a report token for given report ID... */
$reportToken = \RightNow\Utils\Framework::createToken($this->data['attrs']['report_id']);
0