Answers.Body: <p>Caroline,</p>
  
  <p>You need to enable additional setting for the fields you want to display them as a column. You can do this now by editing the fields you want to show them as a column and do the following</p>
  
  <ol>
  <li><p>Select 'Expose Publicly' from visibility</p></li>
  <li><p>Check 'Results Column?'</p></li>
  </ol>
  
  <p><a href="https://i.sstatic.net/q7n7t.png" rel="noreferrer"><img src="https://i.sstatic.net/q7n7t.png" alt="enter image description here"></a></p>
  
  <p>HTH</p>
  
  <p>Pradeep</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-10T11:08:25.660Z
Answers.Text: That's excellent! Thanks. Can I check what does "expose publicly" mean in this case. Who can see this data. I want it so that only people who are able to access civicrm data can see it. Thanks
Answers.UserDisplayName: Caroline B
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-10T11:29:32.343Z
Answers.Text: So can we mark this as Answered so that it will be helpful for other who will hit the same issue?
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-10T11:29:36.320Z
Answers.Text: Those options means "Is this field hidden from public search ('User and User Admin Only'), or is it visible to the public and potentially searchable in the Profile Search form ('Expose Publicly' or 'Expose Publicly and for Listings')? ('User and User Admin Only') fields can still be used for Edit and Create mode.
  
  When visibility is 'Expose Publicly and for Listings', users can also click the field value when viewing a contact in order to locate other contacts with the same value(s) (i.e. other contacts who live in Poland)."
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-10T15:58:30.947Z
Answers.Text: Hi Pradeep - sorry I don’t quite understand your extra piece of information. Are you saying that this field could be visible to the public (ie people who do not have a user role which allows them access to the Civicrm database. I definitely do not want members of the public to see the contents of this field
Answers.UserDisplayName: Caroline B
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-10T16:00:26.313Z
Answers.Text: This fields will only be accessible if the anonymous user have access to search contact using profile. Else they won't be able to access this field.
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-12T18:37:41.330Z
Answers.Text: HI Pradeep how would the anonymous user be given this permission. I am on drupal. Would it be through the perople/permissions? I have had a look and the following permission options are avilable there: 1. CiviCRM: profile listings and forms 2. CiviCRM: profile listings 3. CiviCRM: profile create 4. CiviCRM: profile edit 5. CiviCRM: profile view   Sorry to keep asking I'm keen to finally crack this and then mark the answer with a tick! Thanks in advance.
Answers.UserDisplayName: Caroline B
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-13T21:23:00.263Z
Answers.Text: Don't give anonymous user permission for 1. CiviCRM: profile listings and forms 2. CiviCRM: profile listings
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-14T23:25:19.030Z
Answers.Text: Thanks a lot Pradeep. Thats really helpful :)
Answers.UserDisplayName: Caroline B
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-10T10:35:46.047Z
Answers.LastActivityDate: 2019-01-10T10:42:32.357Z
Answers.LastEditDate: 2019-01-10T10:42:32.357Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>I have never managed to get this function to work properly so here goes.</p>
  
  <p>I have created  profile with some custom fields (individual) and selected the option Search Views, Standalone Form or Directory</p>
  
  <p>I then go to advanced search and select the group I want to view; I also select views for display contacts and select the profile I want.</p>
  
  <p>When I press search I get the correct list of people but not the fields that I want to see. I just get display name.</p>
  
  <p>I am on 5.3.2 although i've never been able to get it to work tbh</p>
  
  <p>Any tips!?
  Thanks
  Caroline</p>
  
Tags: <profile><advanced-search>
Title: How to create a search view that displays selected columns
ThreadText: # How to create a search view that displays selected columns
  
  (Asked by: username_0 on 2019-01-10)
  
  I have never managed to get this function to work properly so here goes.
  
  I have created profile with some custom fields (individual) and selected the option Search Views, Standalone Form or Directory
  
  I then go to advanced search and select the group I want to view; I also select views for display contacts and select the profile I want.
  
  When I press search I get the correct list of people but not the fields that I want to see. I just get display name.
  
  I am on 5.3.2 although i've never been able to get it to work tbh
  
  Any tips!?
  Thanks
  Caroline
  
  **Tags:** profile, advanced-search
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-01-10. Score: 4 | Accepted answer
  
  Caroline,
  
  You need to enable additional setting for the fields you want to display them as a column. You can do this now by editing the fields you want to show them as a column and do the following
  
  1. Select 'Expose Publicly' from visibility
  2. Check 'Results Column?'
  
  [![enter image description here](https://i.sstatic.net/q7n7t.png)](https://i.sstatic.net/q7n7t.png)
  
  HTH
  
  Pradeep
  
  > **Comments:**
  > **username_0**: That's excellent! Thanks. Can I check what does "expose publicly" mean in this case. Who can see this data. I want it so that only people who are able to access civicrm data can see it. Thanks  
  > **username_1**: So can we mark this as Answered so that it will be helpful for other who will hit the same issue?  
  > **username_1**: Those options means "Is this field hidden from public search ('User and User Admin Only'), or is it visible to the public and potentially searchable in the Profile Search form ('Expose Publicly' or 'Expose Publicly and for Listings')? ('User and User Admin Only') fields can still be used for Edit and Create mode.  When visibility is 'Expose Publicly and for Listings', users can also click the field value when viewing a contact in order to locate other contacts with the same value(s) (i.e. other contacts who live in Poland)."  
  > **username_0**: Hi Pradeep - sorry I don’t quite understand your extra piece of information. Are you saying that this field could be visible to the public (ie people who do not have a user role which allows them access to the Civicrm database. I definitely do not want members of the public to see the contents of this field  
  > **username_1**: This fields will only be accessible if the anonymous user have access to search contact using profile. Else they won't be able to access this field.  
  > **username_0**: HI Pradeep how would the anonymous user be given this permission. I am on drupal. Would it be through the perople/permissions? I have had a look and the following permission options are avilable there: 1. CiviCRM: profile listings and forms 2. CiviCRM: profile listings 3. CiviCRM: profile create 4. CiviCRM: profile edit 5. CiviCRM: profile view   Sorry to keep asking I'm keen to finally crack this and then mark the answer with a tick! Thanks in advance.  
  > **username_1**: Don't give anonymous user permission for 1. CiviCRM: profile listings and forms 2. CiviCRM: profile listings  
  > **username_0**: Thanks a lot Pradeep. Thats really helpful :)  
  
  ---
  
  