Project

General

Profile

Exporting Salsa for CiviCRM » History » Version 16

Jon Goldberg, 09/21/2014 01:26 AM

1 1 Jon Goldberg
h1. Exporting Salsa for CiviCRM
2
3 2 Jon Goldberg
When logged in as a Manager, "Query/Export" will give you a full export of contact data.  There's a "Select My Entire List" button.  There's also an "include my deleted supporters" checkbox, which you may want to check (but probably not).  This will NOT get you groups/tags.
4 1 Jon Goldberg
5 14 Jon Goldberg
h2. Exporting Data not on the Contact Entity
6 2 Jon Goldberg
7 7 Jon Goldberg
You need to get to custom reports.  If you have the Reports tab, great; if not, you can get there by clicking "Supporter Management" tab, then "Built-in Reports", then "Clone and Edit" a report, then select "List Custom Groups".  Or go straight here: https://hq-org.salsalabs.com/dia/hq/reports/list.jsp?table=report
8 1 Jon Goldberg
9 8 Jon Goldberg
*Important*: When selecting foreign keys (e.g. "Supporter KEY") from the Columns tab, be sure to give a custom label.  This will cause the key to display correctly, instead of giving a link to the supporter's record.
10
11 11 Jon Goldberg
h3. Groups
12 12 Jon Goldberg
13 3 Jon Goldberg
* Create a new report.
14
* Select the type of report you would like to create: Standard report
15
* Use "Advanced Object Chooser".
16 9 Jon Goldberg
* Report "Supporter Groups", then "Groups".  Press "Save".
17 1 Jon Goldberg
* Select the "Columns" tab and select your columns.  I like just "Supporter Key" and "Group Name".
18 7 Jon Goldberg
* In Conditions, "Group Name" should be "Not Empty".
19 4 Jon Goldberg
* Save, Run the report.
20
* Click the "Export" link.
21 1 Jon Goldberg
22 11 Jon Goldberg
h3. Tags
23 12 Jon Goldberg
24 5 Jon Goldberg
* Create a new report.
25
* Select the type of report you would like to create: Standard report
26
* Use "Advanced Object Chooser".
27
* Report on "Tags", then "Tags Data", then "Database Table".  Press "Save".
28
* Select the "Columns" tab and select your columns.  I like just "Tag" and "Table Key".
29 1 Jon Goldberg
** "Table Key" is the Supporter Key.  It's similar to "entity_id" in CiviCRM.
30 7 Jon Goldberg
* In "Conditions", "Table Name" should equal "supporter".
31 10 Jon Goldberg
* Add another condition: "Tag.Tag" is "Not Empty".
32 1 Jon Goldberg
* Save, Run the report.
33
* Click the "Export" link.
34
35 11 Jon Goldberg
h3. Events
36 1 Jon Goldberg
37 15 Jon Goldberg
As above, but no conditions, and report on the "Event" table.  If you're only importing legacy events, this is a good list of easy fields to import:
38
Event KEY
39
Reference Name
40
Event Name
41
Description
42
Start
43
End
44
Deadline
45
Maximum Attendees
46
47 1 Jon Goldberg
h3. Participants
48 16 Jon Goldberg
49
As above.  Report on tables "Supporter Event", then "Event".  Note that there are a lot of tables that _look_ like "Supporter Event", like "Supporterevent" and "Supporter Events"!
50
51
Note that if you're matching on a unique field from "Events", you can just export "Supporter Event" and not the "Event" table.
52
Here are the fields I exported and what I matched them to:
53
Supporter KEY	external_identifier
54
Event KEY	event_key
55
Status	status
56
Type	role
57
Date Created	register_date
58
59 11 Jon Goldberg
60
h3. Activities (aka "Actions")
61
62
63
h3. Chapters
64 12 Jon Goldberg
65 7 Jon Goldberg
* Create a new report.
66 1 Jon Goldberg
* Select the type of report you would like to create: Standard report
67 7 Jon Goldberg
* Use "Advanced Object Chooser".
68 8 Jon Goldberg
* Report "Supporter Chapter", then "Chapter".  Press "Save".
69
* Select the "Columns" tab and select your columns.  I like just "Supporter KEY" and "Chapter.Name".
70
* In Conditions, "Chapter.Name" should be "Not Empty".
71 5 Jon Goldberg
* Save, Run the report.
72 1 Jon Goldberg
* Click the "Export" link.
73
74 7 Jon Goldberg
h3. Receive_Email field
75 1 Jon Goldberg
76
Here's a TSV of how to interpret the "Receive_Email" field.
77
code	# of records	meaning
78
-24	11066	INACTIVE: (5.1.1 User Unknown) 
79
-26	1265	INACTIVE: Address contains RFC spec. invalid characters / is improperly formatted 
80
-3	10596	INACTIVE: UNSUBSCRIBED (actively unsubscribed by user) 
81
-30	8	INACTIVE (Reported as Spam): Other Blacklist (BLACKLIST) 
82
-32	11	(Unknown Status) 
83
-35	1	INACTIVE (Reported as Spam): Outblaze 
84
-4	1	(Unknown Status) 
85
-42	349	INACTIVE (Recipient Initiated Spam Report): MSN/Hotmail/WebTV 
86
-44	10	INACTIVE (Recipient Initiated Spam Report): UNTI (Juno/NetZero/FreeServers) 
87
-45	818	INACTIVE (Recipient Initiated Spam Report): Yahoo 
88
-46	69	INACTIVE (Recipient Initiated Spam Report): Comcast.net 
89
-47	545	INACTIVE (Recipient Initiated Spam Report): AOL
90
-48	1	INACTIVE (Recipient Initiated Spam Report): RoadRunner 
91
-50	10	ISP Specific Bounces: AIM.com Unactivated account 
92
-51	3	INACTIVE (Recipient Initiated Spam Report): Excite 
93
-52	18	INACTIVE (Reported as Spam): Earthlink 
94
-53	15	(Unknown Status) 
95
-54	1	(Unknown Status) 
96
-60	4	Bad Address/Expired address, etc (n.b.: These addresses are all @democracyinaction.org)
97
-9	5	INACTIVE: DEATH (supporter has died) 
98
0	1101	0 - Inactive or Unknown(not subscribed)
99
1	64352	1 - Imported or unknown (subscribed) 
100
10	3	ACTIVE: CONFIRMED (Double opt-in) 
101 4 Jon Goldberg
3	8924	ACTIVE: CLIENT (Client has directly signed up)
Go to top