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 »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • Api Explorer and Generator doesn't work (Drupal 7.2, Civicrm 4.2)
Pages: [1]

Author Topic: Api Explorer and Generator doesn't work (Drupal 7.2, Civicrm 4.2)  (Read 1489 times)

Alex Sondy

  • I’m new here
  • *
  • Posts: 21
  • Karma: 0
  • CiviCRM version: 4.0.7
  • CMS version: Drupal 7.2
  • MySQL version: 5.0.7
  • PHP version: 5.3.5
Api Explorer and Generator doesn't work (Drupal 7.2, Civicrm 4.2)
June 11, 2011, 05:45:00 pm
Hello,

I try to hack civi to let people add option Values to the civicrm_option_value table. I'm succsesfull in writing directly to the table, but I would rather use the Api.

The problem is, I can't even really try it out because the API Explorer/Generator doesn't work. Neither in my install (Drupal 7.2 / Civicrm 4.2) or the Demo: /civicrm/ajax/doc/api#explorer

I searched a lot and found this patch: CRM-8233 - sadly it didn't work.

Could someone fix the Explorer on the Demo installation? I'm sure I'm not the only one missing this nice feature.  :)

Thx
Alex

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Api Explorer and Generator doesn't work (Drupal 7.2, Civicrm 4.2)
June 11, 2011, 08:42:03 pm
you can also find syntax in the examples directory (http://svn.civicrm.org/civicrm/branches/v3.4/api/v3/examples) - although there is only a 'get' example for OptionValue
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

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Api Explorer and Generator doesn't work (Drupal 7.2, Civicrm 4.2)
June 11, 2011, 10:39:07 pm
Still not working?
will check.
You can also try the d6 demo
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Api Explorer and Generator doesn't work (Drupal 7.2, Civicrm 4.2)
June 13, 2011, 08:47:15 am
Hi,

Stupid one: where is the D7 demo ? couldn't find it on demo.civicrm.org

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Api Explorer and Generator doesn't work (Drupal 7.2, Civicrm 4.2)
June 14, 2011, 03:25:22 am
Xavier:

http://d7.sandbox.civicrm.org

Kurund
Found this reply helpful? Support CiviCRM

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Api Explorer and Generator doesn't work (Drupal 7.2, Civicrm 4.2)
June 14, 2011, 03:28:28 am
Ok, testing on firefox and it works

Alex, can you give more specifics on what doesn't work on the demo and what config you have ?

X+

P.S. The issue I thought you mentioned has been fixed a week or two ago.
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

geekdenz

  • I’m new here
  • *
  • Posts: 19
  • Karma: 1
    • Geek.De.NZ
  • CiviCRM version: 4.2 (development)
  • CMS version: Drupal 7.12
  • MySQL version: 5
  • PHP version: 5
Re: Api Explorer and Generator doesn't work (Drupal 7.2, Civicrm 4.2)
August 18, 2012, 10:38:59 pm
http://issues.civicrm.org/jira/browse/CRM-10686

Does this help?

Regards,
Tim
Twitter: @geekdenz

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • Api Explorer and Generator doesn't work (Drupal 7.2, Civicrm 4.2)

This forum was archived on 2017-11-26.