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>
9 <component>CiviCampaign
</component>
11 <add>civicrm/campaign/add?reset=
1</add>
12 <update>civicrm/campaign/add?reset=
1&action=update
&id=[id]
</update>
13 <delete>civicrm/campaign/add?reset=
1&action=delete
&id=[id]
</delete>
17 <title>Campaign ID
</title>
18 <type>int unsigned
</type>
19 <required>true
</required>
20 <comment>Unique Campaign ID.
</comment>
26 <autoincrement>true
</autoincrement>
31 <title>Campaign Name
</title>
34 <required>true
</required>
35 <comment>Name of the Campaign.
</comment>
45 <title>Campaign Title
</title>
48 <comment>Title of the Campaign.
</comment>
57 <name>description
</name>
58 <title>Campaign Description
</title>
65 <comment>Full description of Campaign.
</comment>
70 <name>start_date
</name>
71 <title>Campaign Start Date
</title>
73 <headerPattern>/^start|(s(tart\s)?date)$/i
</headerPattern>
74 <comment>Date and time that Campaign starts.
</comment>
77 <type>Select Date
</type>
78 <formatType>activityDateTime
</formatType>
85 <title>Campaign End Date
</title>
87 <headerPattern>/^end|(e(nd\s)?date)$/i
</headerPattern>
88 <comment>Date and time that Campaign ends.
</comment>
91 <type>Select Date
</type>
92 <formatType>activityDateTime
</formatType>
98 <name>campaign_type_id
</name>
99 <title>Campaign Type
</title>
100 <type>int unsigned
</type>
101 <default>NULL
</default>
102 <comment>Campaign Type ID.Implicit FK to civicrm_option_value where option_group = campaign_type
</comment>
103 <import>true
</import>
105 <optionGroupName>campaign_type
</optionGroupName>
113 <name>UI_campaign_type_id
</name>
114 <fieldName>campaign_type_id
</fieldName>
119 <name>status_id
</name>
120 <title>Campaign Status
</title>
121 <type>int unsigned
</type>
122 <default>NULL
</default>
123 <comment>Campaign status ID.Implicit FK to civicrm_option_value where option_group = campaign_status
</comment>
124 <import>true
</import>
126 <optionGroupName>campaign_status
</optionGroupName>
134 <name>UI_campaign_status_id
</name>
135 <fieldName>status_id
</fieldName>
140 <name>external_identifier
</name>
142 <title>Campaign External ID
</title>
144 <headerPattern>/external\s?id/i
</headerPattern>
145 <dataPattern>/^\d{
11,}$/
</dataPattern>
146 <comment>Unique trusted external ID (generally from a legacy app/datasource). Particularly useful for deduping operations.
</comment>
147 <import>true
</import>
154 <name>UI_external_identifier
</name>
155 <unique>true
</unique>
156 <fieldName>external_identifier
</fieldName>
161 <name>parent_id
</name>
162 <title>Parent Campaign
</title>
163 <type>int unsigned
</type>
164 <default>NULL
</default>
165 <comment>Optional parent id for this Campaign.
</comment>
166 <import>true
</import>
169 <type>EntityRef
</type>
173 <name>parent_id
</name>
174 <table>civicrm_campaign
</table>
177 <onDelete>SET NULL
</onDelete>
181 <name>is_active
</name>
182 <title>Is Campaign Active?
</title>
185 <comment>Is this Campaign enabled or disabled/cancelled?
</comment>
188 <type>CheckBox
</type>
193 <name>created_id
</name>
194 <type>int unsigned
</type>
195 <title>Campaign Created By
</title>
196 <comment>FK to civicrm_contact, who created this Campaign.
</comment>
200 <name>created_id
</name>
201 <table>civicrm_contact
</table>
204 <onDelete>SET NULL
</onDelete>
208 <name>created_date
</name>
209 <type>datetime
</type>
210 <title>Campaign Created Date
</title>
211 <comment>Date and time that Campaign was created.
</comment>
214 <type>Select Date
</type>
215 <formatType>activityDateTime
</formatType>
220 <name>last_modified_id
</name>
221 <type>int unsigned
</type>
222 <title>Campaign Modified By
</title>
223 <comment>FK to civicrm_contact, who recently edited this Campaign.
</comment>
227 <name>last_modified_id
</name>
228 <table>civicrm_contact
</table>
231 <onDelete>SET NULL
</onDelete>
235 <name>last_modified_date
</name>
236 <type>datetime
</type>
237 <title>Campaign Modified Date
</title>
238 <comment>Date and time that Campaign was edited last time.
</comment>
242 <name>goal_general
</name>
244 <title>Campaign Goals
</title>
245 <comment>General goals for Campaign.
</comment>
248 <type>RichTextEditor
</type>
252 <name>goal_revenue
</name>
254 <comment>The target revenue for this campaign.
</comment>