1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
3 <base>CRM/Campaign
</base>
4 <class>Campaign
</class>
5 <name>civicrm_campaign
</name>
6 <comment>Campaign Details.
</comment>
8 <icon>fa-bullhorn
</icon>
10 <add>civicrm/campaign/add?reset=
1</add>
11 <update>civicrm/campaign/add?reset=
1&action=update
&id=[id]
</update>
12 <delete>civicrm/campaign/add?reset=
1&action=delete
&id=[id]
</delete>
16 <title>Campaign ID
</title>
17 <type>int unsigned
</type>
18 <required>true
</required>
19 <comment>Unique Campaign ID.
</comment>
25 <autoincrement>true
</autoincrement>
30 <title>Campaign Name
</title>
33 <required>true
</required>
34 <comment>Name of the Campaign.
</comment>
44 <title>Campaign Title
</title>
47 <comment>Title of the Campaign.
</comment>
56 <name>description
</name>
57 <title>Campaign Description
</title>
64 <comment>Full description of Campaign.
</comment>
69 <name>start_date
</name>
70 <title>Campaign Start Date
</title>
72 <headerPattern>/^start|(s(tart\s)?date)$/i
</headerPattern>
73 <comment>Date and time that Campaign starts.
</comment>
76 <type>Select Date
</type>
77 <formatType>activityDateTime
</formatType>
84 <title>Campaign End Date
</title>
86 <headerPattern>/^end|(e(nd\s)?date)$/i
</headerPattern>
87 <comment>Date and time that Campaign ends.
</comment>
90 <type>Select Date
</type>
91 <formatType>activityDateTime
</formatType>
97 <name>campaign_type_id
</name>
98 <title>Campaign Type
</title>
99 <type>int unsigned
</type>
100 <default>NULL
</default>
101 <comment>Campaign Type ID.Implicit FK to civicrm_option_value where option_group = campaign_type
</comment>
102 <import>true
</import>
104 <optionGroupName>campaign_type
</optionGroupName>
112 <name>UI_campaign_type_id
</name>
113 <fieldName>campaign_type_id
</fieldName>
118 <name>status_id
</name>
119 <title>Campaign Status
</title>
120 <type>int unsigned
</type>
121 <default>NULL
</default>
122 <comment>Campaign status ID.Implicit FK to civicrm_option_value where option_group = campaign_status
</comment>
123 <import>true
</import>
125 <optionGroupName>campaign_status
</optionGroupName>
133 <name>UI_campaign_status_id
</name>
134 <fieldName>status_id
</fieldName>
139 <name>external_identifier
</name>
141 <title>Campaign External ID
</title>
143 <headerPattern>/external\s?id/i
</headerPattern>
144 <dataPattern>/^\d{
11,}$/
</dataPattern>
145 <comment>Unique trusted external ID (generally from a legacy app/datasource). Particularly useful for deduping operations.
</comment>
146 <import>true
</import>
153 <name>UI_external_identifier
</name>
154 <unique>true
</unique>
155 <fieldName>external_identifier
</fieldName>
160 <name>parent_id
</name>
161 <title>Parent Campaign
</title>
162 <type>int unsigned
</type>
163 <default>NULL
</default>
164 <comment>Optional parent id for this Campaign.
</comment>
165 <import>true
</import>
168 <type>EntityRef
</type>
172 <name>parent_id
</name>
173 <table>civicrm_campaign
</table>
176 <onDelete>SET NULL
</onDelete>
180 <name>is_active
</name>
181 <title>Is Campaign Active?
</title>
184 <comment>Is this Campaign enabled or disabled/cancelled?
</comment>
187 <type>CheckBox
</type>
192 <name>created_id
</name>
193 <type>int unsigned
</type>
194 <title>Campaign Created By
</title>
195 <comment>FK to civicrm_contact, who created this Campaign.
</comment>
199 <name>created_id
</name>
200 <table>civicrm_contact
</table>
203 <onDelete>SET NULL
</onDelete>
207 <name>created_date
</name>
208 <type>datetime
</type>
209 <title>Campaign Created Date
</title>
210 <comment>Date and time that Campaign was created.
</comment>
213 <type>Select Date
</type>
214 <formatType>activityDateTime
</formatType>
219 <name>last_modified_id
</name>
220 <type>int unsigned
</type>
221 <title>Campaign Modified By
</title>
222 <comment>FK to civicrm_contact, who recently edited this Campaign.
</comment>
226 <name>last_modified_id
</name>
227 <table>civicrm_contact
</table>
230 <onDelete>SET NULL
</onDelete>
234 <name>last_modified_date
</name>
235 <type>datetime
</type>
236 <title>Campaign Modified Date
</title>
237 <comment>Date and time that Campaign was edited last time.
</comment>
241 <name>goal_general
</name>
243 <title>Campaign Goals
</title>
244 <comment>General goals for Campaign.
</comment>
247 <type>RichTextEditor
</type>
251 <name>goal_revenue
</name>
253 <comment>The target revenue for this campaign.
</comment>