1. webuniverse
  2. RO CSVI
  3. Friday, 09 January 2026
  4.  Subscribe via email
How can I limit the export of contacts to a user group?
I assume this must be done via rules, but I don't understand how to do it.

Thx for help
Corinne
Accepted Answer Pending Moderation
Hello Corinne,
Joomla contacts saves linked user as user_id so there is no direct way in RO CSVI to export contacts based on user group. If you want to export based on user group then you need to write custom code to link Joomla user table and filter based on user group. This custom code can then be set as an override for export.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. 3 weeks ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Hi Corinne,

How can I limit the export of contacts to a user group?
As Tharuna said there is no direct link between a contact and a user group. There is only a connection with the users via their ID.

The only way I see this work without writing your own code is the following:

  1. Create a user export including the user group ID and filter the export to include all the user groups that need to be skipped in the contacts export
  2. Create a contact export including the user_id field. This field can be unpublished if you do not want it in your export file
  3. Create a skip rule that skips the records matching all the user IDs you exported in step 1. Multiple user IDs have to be comma separated
  4. Assign the rule to the user_id field of the contact export template
  5. Run the export, you will get all contacts that are in the usergroups not selected in step 1 because the export will skip all the users set in the skip rule
You can do this for multiple user groups if you need that. Just copy the templates and skip rule and change the filters and skip rule accordingly.

Let us know if that helps.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. 2 weeks ago
  2. RO CSVI
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!