Answers.Body: <p>Don't know a way through the UI, but I think you could do it through SQL.</p>
  
  <p>The default reports appear to be defined in <code>xml/templates/civicrm_navigation.tpl</code>, which in turn gets copied into <code>sql/civicrm_data.mysql</code>.</p>
  
  <p>You might make a new instance with the default settings by copying the definition:</p>
  
  <ol>
  <li>Open <code>sql/civircm_data.mysql</code> and search for <code>civicrm_report_instance</code>. Find the <code>INSERT</code> statement which corresponds to your report.</li>
  <li>Copy the <code>INSERT</code> statement into a text editor.</li>
  <li>Change <code>@domainID</code> to <code>1</code> (unless you have a special/multidomain system; then adjust accordingly).</li>
  <li>Open your MySQL tool (e.g. <code>mysql</code> cli or <code>phpmyadmin</code>) with an appropriate user+database.</li>
  <li>Paste and execute the <code>INSERT</code> statement.</li>
  </ol>
  
  <p>If you want to reset the existing report and know a bit of SQL, then you can massage the <code>INSERT</code> and produce an <code>UPDATE</code> for the existing report.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-07T01:42:14.433Z
Answers.LastActivityDate: 2016-01-07T01:42:14.433Z
Answers.UserDisplayName: Tim Otten
Body: <p>Using WP and current CiviCRM.
  We changed a default Report Template.  Is there a way to restore a default report template?</p>
  
Tags: <civireport>
Title: How do I restore a default report template?
ThreadText: # How do I restore a default report template?
  
  (Asked by: username_0 on 2016-01-06)
  
  Using WP and current CiviCRM.
  We changed a default Report Template. Is there a way to restore a default report template?
  
  **Tags:** civireport
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-01-07. Score: 1
  
  Don't know a way through the UI, but I think you could do it through SQL.
  
  The default reports appear to be defined in `xml/templates/civicrm_navigation.tpl`, which in turn gets copied into `sql/civicrm_data.mysql`.
  
  You might make a new instance with the default settings by copying the definition:
  
  1. Open `sql/civircm_data.mysql` and search for `civicrm_report_instance`. Find the `INSERT` statement which corresponds to your report.
  2. Copy the `INSERT` statement into a text editor.
  3. Change `@domainID` to `1` (unless you have a special/multidomain system; then adjust accordingly).
  4. Open your MySQL tool (e.g. `mysql` cli or `phpmyadmin`) with an appropriate user+database.
  5. Paste and execute the `INSERT` statement.
  
  If you want to reset the existing report and know a bit of SQL, then you can massage the `INSERT` and produce an `UPDATE` for the existing report.
  
  
  ---
  
  