CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Get contacts from search result in tasks hook?
Pages: [1]

Author Topic: Get contacts from search result in tasks hook?  (Read 711 times)

cbenz

  • I’m new here
  • *
  • Posts: 7
  • Karma: 1
Get contacts from search result in tasks hook?
April 29, 2010, 08:55:10 am
Is it possible to retrieve the contacts in search results from the tasks hook ?

I would like to change the contents of the tasks list according to the contact group(s).

And is it possible to loop on the selected contacts before executing the task?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Get contacts from search result in tasks hook?
April 29, 2010, 10:03:30 am
I believe you are referring to the hook_civicrm_searchTasks hook.

It does not appear possible to obtain the search results from that hook, no. AFAIK.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Get contacts from search result in tasks hook?

This forum was archived on 2017-11-26.