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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • custom search direct to batch update?
Pages: [1]

Author Topic: custom search direct to batch update?  (Read 1018 times)

joe murray

  • Guest
custom search direct to batch update?
September 03, 2009, 04:50:47 am
I want to go directly from a custom search form to doing a batch update on the results using a certain profile. In other words, I want to shield users from seeing the search results page, selecting all records, selecting the batch update with profile action, clicking Go, selecting the right profile, and clicking go.

Is this difficult?

How would I go about it, as the url for the batch update does not seem to include the profile ID.

Although I've seen that the core code often sets up a wizard to handle multistep processes, I'm not sure how one would go about defining and storing one in the db to handle something like this.

TIA,
Joe

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: custom search direct to batch update?
September 03, 2009, 08:49:00 am

this will all have to be custom code. you can potentially reuse a lot of the code, but u'll need to create a new wizard and set it up so hitting go sets the right session for batch update to do its magic. i suspect there might be a few hacks / code tweaks needed to batch update

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • custom search direct to batch update?

This forum was archived on 2017-11-26.