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

static_filter in report is not doing anything in CP

Received Response
52
Views
1
Comments
edited Jun 7, 2022 1:21PM in General Technical Discussions 1 comment

Summary

CP contacts should be able to view a report of their subscriptions. But the report shows subscriptions of all contacts. I want the report to show only subscriptions of the logged in contact.

Content

I set the widget as follows:

<rn:container report_id="100006" per_page="15">
<rn:widget path="reports/Paginator" />
<rn:widget path="reports/Grid" static_filter="c_id=#rn:profile:contactID#" />
</rn:container>
 
The report is like this:
Article
Title
Created
Contact ID
1234 Article 1 28-08-2020 1
1235 Article 2 25-08-2020 347
1236 Article 3 25-08-2020 62
1237 Article 4 25-08-2020 212
1238 Article 5 25-08-2020 212

In the report editor Contactpersoon-ID = okcs_contacts.c_id

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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