Answers.Body: <p>These two fields would be generally useful to many CiviCRM users, so I'd recommend adding them to the core report just before <a href="https://github.com/civicrm/civicrm-core/blob/master/CRM/Report/Form/Contact/Detail.php#L85" rel="nofollow">https://github.com/civicrm/civicrm-core/blob/master/CRM/Report/Form/Contact/Detail.php#L85</a>. </p>
  
  <p>Here are some instructions on using GitHub to contribute to core CiviCRM: <a href="https://wiki.civicrm.org/confluence/display/CRMDOC/Contributing+to+CiviCRM+using+GitHub" rel="nofollow">https://wiki.civicrm.org/confluence/display/CRMDOC/Contributing+to+CiviCRM+using+GitHub</a></p>
  
  <p>You can get the names of the fields at <a href="https://github.com/civicrm/civicrm-core/blob/master/xml/schema/Contact/Contact.xml#L162" rel="nofollow">https://github.com/civicrm/civicrm-core/blob/master/xml/schema/Contact/Contact.xml#L162</a> and <a href="https://github.com/civicrm/civicrm-core/blob/master/xml/schema/Contact/Contact.xml#L359" rel="nofollow">https://github.com/civicrm/civicrm-core/blob/master/xml/schema/Contact/Contact.xml#L359</a>. </p>
  
  <p>Just adding the field definitions should be sufficient to add them as data columns...a bit more work is required to make them available as order by fields. Once you have tested the changes, please submit a PR. You can ask me for help reviewing the contribution by mentioning @JoeMurray in a comment on the PR. Good luck!</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-08-16T17:35:43.953Z
Answers.LastActivityDate: 2016-08-16T17:35:43.953Z
Answers.UserDisplayName: Joe Murray
Answers.Body: <p>You can achive this by two ways </p>
  
  <p>Easy and Best way of doing this. Is to create two custom fields against contact (source and external ID) - write a hooks to copy all the value stored again original source and external ID into the custom field which gets included to the report by default </p>
  
  <p>Other way of doing is to override the core file and also including the soruce and external ID to the list (if you need more help in this please let me know) - also you can raise a ticket regarding the issue so this gets included to the next release </p>
  
  <p>I guess this helps !!!</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-08-16T09:08:41.717Z
Answers.LastActivityDate: 2016-08-16T09:08:41.717Z
Answers.UserDisplayName: Ramesh - ARTECH Consultancy
Answers.Body: <p>I would create a customized version of the report and add the fields to the list of available fields. There is an instruction on how to achieve this on <a href="https://wiki.civicrm.org/confluence/display/CRMDOC/CiviReport+Reference" rel="nofollow">https://wiki.civicrm.org/confluence/display/CRMDOC/CiviReport+Reference</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-08-16T09:12:04.380Z
Answers.LastActivityDate: 2016-08-16T09:12:04.380Z
Answers.UserDisplayName: ErikH - CiviCooP
Body: <p>we use the [source] and [external ID] heavily. They are standard civi fields however they do not appear on the report template (detail or summary versions). </p>
  
  <p><a href="https://i.sstatic.net/W3oeV.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/W3oeV.jpg" alt="enter image description here"></a></p>
  
  <p>Pointers on where to go to update the standard template much appreciated!  </p>
  
  <p><a href="https://i.sstatic.net/G0mKl.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/G0mKl.jpg" alt="enter image description here"></a></p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-08-16T08:50:33.793Z
Comments.Text: Please let me know which version of Civicrm are you using ?
Comments.UserDisplayName: Ramesh - ARTECH Consultancy
Tags: <templates><reports>
Title: How can I modify the existing report template?
ThreadText: # How can I modify the existing report template?
  
  (Asked by: username_0 on 2016-08-15)
  
  we use the [source] and [external ID] heavily. They are standard civi fields however they do not appear on the report template (detail or summary versions).
  
  [![enter image description here](https://i.sstatic.net/W3oeV.jpg)](https://i.sstatic.net/W3oeV.jpg)
  
  Pointers on where to go to update the standard template much appreciated!
  
  [![enter image description here](https://i.sstatic.net/G0mKl.jpg)](https://i.sstatic.net/G0mKl.jpg)
  
  **Tags:** templates, reports
  
  > **Comments:**
  > **username_1**: Please let me know which version of Civicrm are you using ?  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_2 on 2016-08-16. Score: 2 | Accepted answer
  
  These two fields would be generally useful to many CiviCRM users, so I'd recommend adding them to the core report just before <https://github.com/civicrm/civicrm-core/blob/master/CRM/Report/Form/Contact/Detail.php#L85>.
  
  Here are some instructions on using GitHub to contribute to core CiviCRM: <https://wiki.civicrm.org/confluence/display/CRMDOC/Contributing+to+CiviCRM+using+GitHub>
  
  You can get the names of the fields at <https://github.com/civicrm/civicrm-core/blob/master/xml/schema/Contact/Contact.xml#L162> and <https://github.com/civicrm/civicrm-core/blob/master/xml/schema/Contact/Contact.xml#L359>.
  
  Just adding the field definitions should be sufficient to add them as data columns...a bit more work is required to make them available as order by fields. Once you have tested the changes, please submit a PR. You can ask me for help reviewing the contribution by mentioning @JoeMurray in a comment on the PR. Good luck!
  
  
  ---
  
  ### Answer by username_1 on 2016-08-16. Score: 1
  
  You can achive this by two ways
  
  Easy and Best way of doing this. Is to create two custom fields against contact (source and external ID) - write a hooks to copy all the value stored again original source and external ID into the custom field which gets included to the report by default
  
  Other way of doing is to override the core file and also including the soruce and external ID to the list (if you need more help in this please let me know) - also you can raise a ticket regarding the issue so this gets included to the next release
  
  I guess this helps !!!
  
  
  ---
  
  ### Answer by username_3 on 2016-08-16. Score: 1
  
  I would create a customized version of the report and add the fields to the list of available fields. There is an instruction on how to achieve this on <https://wiki.civicrm.org/confluence/display/CRMDOC/CiviReport+Reference>
  
  
  ---
  
  