Newer Version Available
Step 5: Test the PushTopic Channel
- To load the Visualforce page in a web browser, click Preview on the Visualforce page editor:
- In the text box, enter the channel name: /topic/InvoiceStatementUpdates.
- To subscribe to the channel, click Subscribe.
-
Create or modify an InvoiceStatement in a different browser tab. The page displays some debug
messages and event notifications. The output resembles the following:
The debug messages contain information about the subscription status. The first event notification shows the notification data when an invoice statement is created. The second notification shows the notification data when an invoice statement is updated.
Click Unsubscribe to unsubscribe from the channel and stop receiving notifications.