commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-new / civicrm / templates / CRM / Contact / Import / Form / DataSource.hlp
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.6 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2015 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
8 | |
9 | CiviCRM is free software; you can copy, modify, and distribute it |
10 | under the terms of the GNU Affero General Public License |
11 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
12 | |
13 | CiviCRM is distributed in the hope that it will be useful, but |
14 | WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
16 | See the GNU Affero General Public License for more details. |
17 | |
18 | You should have received a copy of the GNU Affero General Public |
19 | License and the CiviCRM Licensing Exception along |
20 | with this program; if not, contact CiviCRM LLC |
21 | at info[AT]civicrm[DOT]org. If you have questions about the |
22 | GNU Affero General Public License or the licensing of CiviCRM, |
23 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
24 +--------------------------------------------------------------------+
25 *}
26 {capture assign=multiURL}{crmURL p="civicrm/import/custom" q="reset=1"}{/capture}
27 {htxt id='choose-data-source-intro-title'}
28 {ts}Import Wizard{/ts}
29 {/htxt}
30 {htxt id='choose-data-source-intro'}
31 <p>
32 {ts}The Import Wizard allows you to easily upload contact records from other applications into CiviCRM. For example, if your organization has contacts in MS Access&copy; or Excel&copy;, and you want to start using CiviCRM to store these contacts, you can 'import' them here.{/ts}
33 </p>
34 <p>
35 {ts}You can import records from a <strong>comma-separated-values format (CSV)</strong> file, or using a <strong>SQL query</strong>. See "Choose Data Source" help below for more information.{/ts}
36 </p>
37 <p>
38 {ts}After importing contacts, you may also want to import <strong>contributions, membership info and/or event participation</strong> data for these contacts. If so, first make sure that the corresponding CiviCRM component is enabled from Administer CiviCRM &raquo; System Settings &raquo; Enable CiviCRM Components. Enable CiviContribute, CiviMember, and/or CiviEvent. Then navigate to the Import option found in each component's menu (e.g. CiviContribute &raquo; Import Contributions).{/ts}
39 </p>
40 <p>
41 {ts 1=$multiURL}If you need to import <strong>Multi-value Custom Data</strong> for contacts (such as employment or education history), you will need to do that as a separate step from <a href="%1">here</a>.{/ts}
42 </p>
43 {/htxt}
44
45 {htxt id='contact-type-title'}
46 {ts}Contact Type{/ts}
47 {/htxt}
48 {htxt id='contact-type'}
49 <p>{ts}Select <strong>Individual</strong> for Contact Type if each record in your file represents an individual person - even if the file also contains related Organization data (e.g. Employer Name, Employer Address, etc.).{/ts}</p>
50 <p>{ts}Select <strong>Organization</strong> or <strong>Household</strong> if each record in your file represents a contact of that type. (NOTE: Some built-in contact types may not be enabled for your site.){/ts}</p>
51 <p>{ts}<strong>Importing Contact Subtypes</strong> - If your file contains a mix of "subtypes" belonging to a built-in type, select the built-in ("parent") type here. You will then be able to map a Contact Subtype field from your file which sets the subtype for each row. EXAMPLE: If you are importing a mixture of Individuals who are "Students" and "Parents" and "Staff" subtypes, select "Individual" here AND include a column in your import file which contains the subtype for each row.{/ts}</p>
52 <p>{ts}If all records in the file belong to the same subtype, then select that subtype from the "Subtype" field. All records will be automatically assigned to that subtype. In this case you do NOT need to include a Subtype column in the file.{/ts}</p>
53 {/htxt}
54
55 {htxt id='contact-sub-type-title'}
56 {ts}Sub-Type{/ts}
57 {/htxt}
58 {htxt id='contact-sub-type'}
59 <p>{ts}Select a specific Contact Subtype here ONLY if all you want all records in this import to be assigned to that subtype. EXAMPLE: If all records are of the <strong>Student</strong>, select that subtype here and it will be assigned to all import records.{/ts}</p>
60 <p>{ts}Do NOT select a Contact Subtype if your import file contains a mixture of subtypes. In that case, select the built-in ("parent") type, and make sure you'll file includes include a column which sets the subtype for each row.{/ts}</p>
61 {/htxt}
62
63 {htxt id='dupes-title'}
64 {ts}Duplicate Matching{/ts}
65 {/htxt}
66 {htxt id='dupes'}
67 <p>
68 {ts}If a contact in the import file appears to be a duplicate of an existing CiviCRM contact...{/ts}
69 </p>
70 <ul>
71 <li>
72 {ts}<strong>Skip:</strong> Reports and then Skips duplicate import file rows - leaving the matching record in the database as-is (default).{/ts}
73 </li>
74 <li>
75 {ts}<strong>Update:</strong> Updates database fields with available import data. Fields in the database which are NOT included in the import row are left as-is.{/ts}
76 </li>
77 <li>
78 {ts}<strong>Fill:</strong> Fills in additional contact data only. Database fields which currently have values are left as-is.{/ts}
79 </li>
80 <li>
81 {ts}<strong>No Duplicate Checking:</strong> Inserts all valid records without comparing them to existing contact records for possible duplicates.{/ts}
82 </li>
83 </ul>
84 {/htxt}
85
86 {htxt id='data-source-selection-title'}
87 {ts}Data Source{/ts}
88 {/htxt}
89 {htxt id='data-source-selection'}
90 <p>
91 {ts}Select the source of the imported data. By default the following choices are possible:{/ts}
92 <table>
93 <tr><td><strong>{ts}Comma-Separated Values (CSV){/ts}</strong></td></tr>
94 <tr><td>{ts}A spreadsheet-like file with the contact data in each row. Data fields are separated by commas. You can export to a "CSV" file from most spreadsheet applications, many database managers, as well as other contact management and address book applications. Consult the documentation for your application if you're not sure how to do this. Save this file to your local hard drive (or an accessible drive on your network) - and then choose that file as your Import Upload File.{/ts}</td></tr>
95 <tr><td><strong>{ts}SQL Query{/ts}</strong></td></tr>
96 <tr><td>{ts}A direct SQL query in the form of a SELECT query. For example:{/ts}</td></tr>
97 <tr><td><code>SELECT first_name, last_name, email FROM somedatabase.sometable</code><td></tr>
98 <tr><td>{ts}This query can be against a different database, but that database has to be on the same database server and the CiviCRM database user has to have the SELECT privilege (and any other privileges required to execute the query).{/ts}</td></tr>
99 </table>
100 </p>
101 {/htxt}
102
103 {htxt id='id-dedupe_rule-title'}
104 {ts}Dedupe Rule{/ts}
105 {/htxt}
106 {htxt id='id-dedupe_rule'}
107 {ts}If you have selected one of the dedupe options besides "no duplicate checking," CiviCRM will use a predefined dedupe rule to determine possible matches for your imported records. Existing dedupe rules may be reviewed, and new rules created, by visiting Contacts > Find and Merge Duplicate Contacts.{/ts}
108 {ts}When selecting a dedupe rule, be sure to choose one that includes fields contained in your import file. Also be aware that the update and fill options could have significant impact on your existing data. You should define and select a rule that is strict enough to ensure there are no false positive matches.{/ts}
109 {/htxt}
110
111 {htxt id='id-fieldSeparator-title'}
112 {ts}Field Separator{/ts}
113 {/htxt}
114 {htxt id='id-fieldSeparator'}
115 {ts}Enter the character used to separate data columns in your import file. By default, the field will populate with the separator defined in your global settings. Common values include a comma, semicolon, or pipe character. To import a tab separated file, enter "tab" (without quotes) in the field.{/ts}
116 {/htxt}