Step 1: Install Prerequisites
- Install prerequisites:
- The Java example uses a custom platform event,
CarMaintenance
. Define this event.
- From Setup, in the Quick Find box, enter
Platform Events
, and then select Platform Events.
- On the Platform Events page, click New Platform Event.
- Complete the standard fields, and for the description, enter
Example event for the genericpubsub client
.
- Save your work.
- To add a field, in the Custom Fields & Relationships related list, click New.
- Follow the custom field wizard to set up these fields.
- Field label:
Cost
, field type: Number(18,0)
- Field label:
Mileage
, field type: Number(18,0)
- Field label:
WorkDescription
, field type: Text(200)