CiviCRM Forums
News: You can learn more about CiviCRM from our new free book: Understanding CiviCRM. Also Check the CiviCRM Blog for updated information on CiviCRM
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 02, 2010, 08:16:01 am


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: Custom fiels in search result  (Read 880 times)
Renze
I’m new here
*

Karma: 0
Offline Offline

Posts: 1


View Profile
« on: May 10, 2007, 02:35:49 am »

Hi all,

Is there a way to put a custom field in the search result.

currantly it lists the following:
Name, Address, City, State, Postal, Country, Email, Phone

On my registration form i have made a custom field 'Company'.
Can i add this field to the search result?
Is there a option i mist, or do i need to go in to the core?


 
Logged
Dave Greenberg
Administrator
I’m (like) Lobo ;)
*****

Karma: 154
Offline Offline

CiviCRM: 3.1.6, 3.2, latest svn (trunk)
CMS: Drupal 6.x, Joomla 1.5.x
MySQL: 5.0.41-log
PHP: 5.2.3

Posts: 4040



View Profile WWW
« Reply #1 on: May 10, 2007, 08:50:34 am »

You can do this in two ways...both using a "Profile"
http://wiki.civicrm.org/confluence/display/CRMDOC/Profiles+Admin

1. Customize the "Advanced Search" results listings:
* create a Profile and check "Used For" = "Search Results"
* add ALL the fields you want included in the results
* go to Advanced Seach and select your profile in the "Search Views" dropdown (upper right)
* do your search

2. Create a custom Profile search form
This is described in the documentation here:
http://wiki.civicrm.org/confluence/display/CRMDOC/Linking+Profiles
Logged

Support CiviCRM's continued development by making a donation.
drinkdecaf
I’m new here
*

Karma: 0
Offline Offline

Posts: 1


View Profile
« Reply #2 on: January 10, 2008, 02:58:06 pm »

Are there limitations to the types of fields allowed to be included on a search view? I've tried to include 'Participant' fields in a profile, and several seem not to work. Specifically, "Register Date" returns no data in the table view, and additionally, CiviCRM crashes when a user tries to sort by this column. I am unclear whether this is a bug, or that these fields were not intended to be searchable, or a problem with my implementation. Strange behavior, as the custom 'Participant' fields are listing just fine.

Long story short - is there a way to display "Register Date" in an advanced search result table, either through a search view or other means?
Logged
Kurund Jalmi
Administrator
I’m (like) Lobo ;)
*****

Karma: 101
Offline Offline

CiviCRM: v3.1, v3.2, trunk
CMS: Drupal 6.x, Joomla 1.5.x
MySQL: 5.1.48
PHP: 5.2.13

Posts: 2771



View Profile WWW
« Reply #3 on: January 10, 2008, 10:45:28 pm »

Search view results might not be correct if a contact has more than one participant record. Note the Advanced Search is very much contact centric, hence it will show only one contact record.

Also CiviCRM does not allow Search View for Participant profile.

kurund
Logged

Do you like CiviCRM? If so, please consider making a donation.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM