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

Run-time report filtering

Received Response
13
Views
2
Comments
edited May 8, 2014 10:50PM in Customer Portal 2 comments

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']);

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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