How to export data based on conditions

Created on 5 February 2018, almost 7 years ago
Updated 19 February 2023, almost 2 years ago

Suppose I am generating csv report using views data export, one of requirement is to remove some rows based upon some role wise conditions, means if authenticated user clicks on download it will download all the rows but if anonymous user clicks on it, It will download few of it.

any help will be highly appericiated

Thanks
Prithiraj

📌 Task
Status

Active

Version

3.0

Component

Code

Created by

🇮🇳India prithiraj

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇸🇰Slovakia sano

    in the display used for export put a filtering condition to the query (into the Filter criteria section) that checks the current user role

Production build 0.71.5 2024