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) »
  • API for Multirow custom Field insertion
Pages: [1]

Author Topic: API for Multirow custom Field insertion  (Read 665 times)

Jag

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 4.0
  • CMS version: Drupal 7.8
  • MySQL version: 5.5.8
  • PHP version: 5.3.5
API for Multirow custom Field insertion
February 08, 2012, 09:18:54 am
Hi,

I've created multiple row custom field options for contacts. Ie. Qualifications.
When i Update the contact record via API it inserts the record but also inserts empty record with same entity id.
Could  anybody please  tell me where can i find the script for inserting the Contact via API???

Thanks

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: API for Multirow custom Field insertion
February 14, 2012, 04:19:46 am
If you can't find a solution via the API, you may need to resort to using SQL to directly insert your data. This can be done via a DAO object.
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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • API for Multirow custom Field insertion

This forum was archived on 2017-11-26.