|
Developers should be aware of a number of useful name-value pairs that can be added to CiviCRM URLs. The most prominent are that after enabling debugging (Administer > Configure > Global Settings > Debugging), the following are active:
Others affect output format provided by numerous CiviCRM pages: &snippet=1 provides HTML snippet of main page content rather than full page (Eg http://forum.civicrm.org/index.php/topic,8787.0.html) &key=myCiviCRMSiteKey required for REST interface (http://wiki.civicrm.org/confluence/display/CRM/REST+interface) &name=myUFLoginName required for REST signin (http://wiki.civicrm.org/confluence/display/CRM/REST+interface) where myUFLoginName is my user framework (ie Drupal or Joomla) login name &password=myUFPassword required for REST signin &json=1 provides JSON data output from REST interface (otherwise data is returned as XML) &force=1 causes data queries for the url to be rerun, and is especially useful in search based scenarios when data params have changed |
URL Name-Value Pairs
Labels
