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 data groups... Help
Pages: [1]

Author Topic: Custom data groups... Help  (Read 553 times)

harshad_lalwani

  • Guest
Custom data groups... Help
March 31, 2010, 03:07:40 pm
Hi All,

I have recently installed civiCRM on Drupal. I am a beginner with drupal,PHP and civiCRM.

I need some help regarding creating custom data groups in civiCRM.

1) When I create a custom data group for custom fields, I notice that for the fields that have multiple select options, the data group stores all the multiple selected values in one cell of the new database table. This means that the new data group that I just created is not even in the first normal form as there are more than one values in one cell. Is there a way to make civiCRM to store multiple select values in separate rows?

2) When we create a new data group it is mandatory to select an appropriate "Used for:" option. How do we create certain tables that are not directly related to any of the "Used for:" options i.e.(Activities, Contacts .... Relationships)? These tables have foreign key relations to define certain fields of some other tables that will be related to contacts. For example: I have a "Consumer" table that will be related to Contacts. I have another table "Pension_Benefits" this table defines all the possible pension benefits that the consumer can have (Foreign key relation with "Consumers"). How do I create the "Pension_Benefits" table (do not know what to select in the "Used For:" option of custom data groups)?

Thanks a lot for your time and help....  :)

Regards,

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 data groups... Help
March 31, 2010, 06:16:33 pm

1. no

2. you will need to create and manage those tables outside of civicrm. we dont support that feature as yet. however it would be a great addition to the project, but i suspect it will be a fairly large project also

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 data groups... Help

This forum was archived on 2017-11-26.