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) »
  • Ajax and the Rest
Pages: [1]

Author Topic: Ajax and the Rest  (Read 1122 times)

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Ajax and the Rest
April 15, 2009, 04:01:53 pm
I seem to be hitting this from a few different directions. I want to be able to populate an Ajax box for anonymous users with names of available people. But the REST interface search doesn't seem to work for this because they don't have permissions.

The information I want is exposed via Profile so what I really want to be able to do is get the profile information in JSON format (preferably being able to pass through search fields but not essential at this stage.)

Where do I start?
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Ajax and the Rest
April 16, 2009, 05:30:08 pm
This related issue has been filed for 2.3 - FYI...

http://issues.civicrm.org/jira/browse/CRM-4382
Protect your investment in CiviCRM by  becoming a Member!

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Ajax and the Rest
April 16, 2009, 06:03:23 pm
Cool - will it be possible to configure how many fields go into the autofill or whatever - e.g. you might want FirstName+LastName+Country or possibly FirstName+LastName+CurrentEmployer to display when selecting
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Ajax and the Rest
April 16, 2009, 06:14:18 pm
Oh - a further extension which would be really exciting is a similar box based on this could create relationships. Only employer relationships are currently created through profile forms but a relationship FK box that allowed selection of another contact would rock.

(have subscribed to the issue & voted for it - not sure you care about the voting now though)
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Ajax and the Rest

This forum was archived on 2017-11-26.