Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Prerequisites
You need access and appropriate permissions to complete the code example.
- Access to a Developer Edition organization.
To create a Developer Edition org, go to developer.salesforce.com/signup and follow the instructions for signing up for a Developer Edition organization.
- The API Enabled permission must be enabled for your Developer Edition organization. This permission is enabled by default, but an admin might have changed it.
- The Streaming API permission must be enabled in Setup, in the User Interface page. This permission is enabled by default, but an admin might have changed it.
- The logged-in user must have Read permission on the PushTopic standard object to receive notifications.
- The logged-in user must have Create permission on the PushTopic standard object to create and manage PushTopic records.
- The logged-in user must have Author Apex permissions to create a PushTopic by using the Developer Console.