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) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • How to use a profile to view one contact or contacts of a certain type?
Pages: [1]

Author Topic: How to use a profile to view one contact or contacts of a certain type?  (Read 629 times)

hlevinson

  • I post occasionally
  • **
  • Posts: 53
  • Karma: 3
How to use a profile to view one contact or contacts of a certain type?
March 11, 2010, 09:37:14 am
I've created a profile for viewing Organizations (gid=9) that is intended to display just a few fields from a contact record.

The normal URL to view contact 138 looks like this:

Code: [Select]
http://mysite/civicrm/contact/view?reset=1&cid=138


How do I form a URL or otherwise use my profile to:

1. View one arbitrary contact using the Organization profile?
-OR -
2. Have a person click on an item in search results, and see the selected item using the profile?

I'm NOT trying to create a Profile for viewing my own (Individual) contact record.

I'm also NOT trying to create a Profile for the search results layout (I found separate instructions for that).

thanks
Harry






hlevinson

  • I post occasionally
  • **
  • Posts: 53
  • Karma: 3
Re: How to use a profile to view one contact or contacts of a certain type?
March 11, 2010, 09:54:41 am
Never mind:  I was doing the right things with my URLs, but my profile/search Profile settings were too restrictive. Once I made set visibility to "Public Pages and Listings" and included the fields in search listings, these URLs work. The second URL was provided automatically by clicking an item in the search results.

Code: [Select]
http://mysite/civicrm/profile?reset=1&gid=9
http://mysite/civicrm/profile/view?reset=1&id=138&gid=9

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • How to use a profile to view one contact or contacts of a certain type?

This forum was archived on 2017-11-26.