Custom Report table settings

Hello!
How can I change default view settings of my custom reports so they always be flattened and pivoted? Because our users must every time change this settings on every custom report every day.
Thanks!
CR

As I just found out, this can be done in the report class under configureView vith:
$view->requestConfig->flat = true
$view->requestConfig->pivotBy...
see:
https://developer.matomo.org/api-reference/Piwik/ViewDataTable/RequestConfig

Oh, I guess you mean custom reports from the custom reports plugin. I don’t know about that.
Also requestConfig->flat does not do what I expected it would. So just forget it, sorry.

1 Like

Andreas Mokros, thanks you anyway! We just upset, we paid 599 euros for that plugin and we MUST do the same several clicks every time we open custom reports.

Well, generally it should be possible to set these options in the plugin code. Haven’t tried this, though…

Hi Viktor,

Currently this is not possible. We have added the feature to our backlog for development. I can’t give you a timeframe at the moment for when this feature will be added.

Thanks,

Thanks for the answer!