The custom channel examples depend on a predefined custom platform events called
Order_NorthAmer__e and Order_EMEA__e. Before creating the custom channel, define these events in
Salesforce.
| Available in: Enterprise, Performance, Unlimited, and
Developer Editions |
| To define a platform event: |
Customize Application |
-
From Setup, in the Quick Find box, enter Platform Events, and then
select Platform Events.
-
Click New Platform Event.
-
Provide these values.
-
Label: Order NorthAmer
-
Plural Label: Order NorthAmer
-
Select Starts with a vowel sound, if available.
-
Click Save.
-
Create four fields. In Custom Fields & Relationships, click New
for each field, and follow the wizard.
-
Field type: Text; Field Label: Order
Number; Length: 10
-
Field type: Text; Field Label: City;
Length: 50
-
Field type: Number; Field Label: Amount;
Length: 16; Decimal Places: 2
-
Repeat these steps for a platform event with the label Order EMEA
and the same fields.