Questions tagged [pushtopic]
The pushtopic tag has no usage guidance.
68
questions
-1
votes
1
answer
35
views
Streaming Push Topics - Could not load Push Topics. Even though APIs are enabled in SF
I can't seem to get past this error in workbench even though APIs in the org are enabled using the latest or older api version
0
votes
0
answers
25
views
Listen to Salesforce Record Update Event in AppExchange Product
Appexchange product has a push topic for example : [Select Id,Name From Account]
When account update where name is "xyz", I want to capture that event in app exchange product and fire a ...
0
votes
0
answers
174
views
Streaming API: How to Determine What Channel a User is Subscribed To in LWC or Apex?
I'm trying to determine either on the server or client side if a user is already subscribed to a channel.
The Use Case:
I would like to use a filtered push topic with different filters, but per the ...
1
vote
1
answer
117
views
PushTopic query: triggering an event based on a roll-up summary field
I recently tried to add a roll-up summary field on a PushTopic query but I don't receive an event with the update when a change triggers a recalculation of the roll-up summary field value.
Do changes ...
3
votes
0
answers
137
views
How can I tell if a field is a non-custom formula field in the REST API?
We have an integration that allows users to specify criteria to listen for on arbitrary object types in Salesforce. The user specifies the object type they want to listen to updates on and then they ...
0
votes
1
answer
166
views
Change Event Trigger is not available for FeedItem
I am trying to create a change event trigger for the feed item, it's not available for creation. For other objects it's available, but missing for feed item, FeedComment, and some other standard ...
0
votes
1
answer
534
views
empApi PushTopic channel does not exist after successful subscribe
I am trying to debug a flaky connection to a PushTopic. Usually it works and is rock solid, except when it doesn't. The connection is being made from LWC after importing lightning/empApi.
Occasionally ...
0
votes
1
answer
480
views
How to use FIELDS(ALL) with SOQL PushTopic
I'm trying to test out creating a PushTopic within the developer console using API v54.0. I want to create a PushTopic to retrieve all fields inside the Account object when a create, update, delete or ...
9
votes
2
answers
3k
views
Will Change Data Capture eventually replace PushTopics/Streaming API?
I need to notify an external system component about changes in Salesforce data. I am confused by the fact that there exist two seemingly competing solutions in Salesforce for that. Both look very ...
0
votes
1
answer
873
views
Unable to subscribe to streaming platform event in lightning app using emp api
I am unable to subscribe to events using emp API.
Taking a look at emp api here I have the following:
My HTML:
<template>
<lightning-card title="StreamingPoc1 Example" icon-name=...
1
vote
1
answer
119
views
NotifyForFields what is the difference between Select vs Reference type?
There're multiple notification types for push topics defined by the field NotifyForFields. I'm trying to understand the difference between NotifyForFields Set to Select and NotifyForFields Set to ...
1
vote
1
answer
2k
views
Streaming Push Topics - Could not load Push Topics
My colleagues and I are unable to get into the workbench page https://workbench.developerforce.com/streaming.php as we get the following error:
I've checked the workbench code and all it does is to ...
3
votes
1
answer
244
views
Which feature is best/recommended to capture record changes in AppExchange app which Integrates with external system?
As part of integration in AppExchange, we would like to capture Salesforce record changes in external system when some change happens in Salesforce records.
There are multiple ways to inform external ...
1
vote
1
answer
71
views
Cold-start a PushTopic with historical records
I have little experience with Salesforce, so excuse me if I'm not using the correct vocabulary.
I'm setting up a PushTopic to export Salesforce objects, and we have a connector that is consuming the ...
1
vote
1
answer
159
views
PushTopic record not getting copied over while creating/refreshing the full sandbox
We create trial orgs from environment hub with managed packages and related configuration. This configuration also includes a PushTopic record. However while creating/refreshing full sandboxes from ...
1
vote
1
answer
306
views
Salesforce Streaming API - Relationship query
One of the limits of PushTopic query is not being able to have relationships in the soql. I'm wondering if there is any solution to this or any alternative to PushTopic.
I'm looking for a solution ...
3
votes
1
answer
144
views
PushTopic for OpportunityContactRole
I'm creating PushTopics for streaming api and have trouble creating one for OpportunityContactRole object.
Executing the following apex code in Developer Console Window
PushTopic pushTopic = new ...
0
votes
1
answer
456
views
what is standard way to create Push Topic in Salesforce
In My Salesforce Org I have not created any PushTopic but when i query on PushTopic it show 100 Push Topic.
I have not found any trigger in my org which creates push topic.
Is Their some standard ...
0
votes
1
answer
1k
views
403::Unknown Client Salesforce Workbench Push Topic
I have an object in Salesforce that I am trying to subscribe to using a Push Topic that I created. But when I try to subscribe to that push topic from Workbench I get 403::Unknown Client exception.
...
2
votes
0
answers
166
views
Push Topics Constant Streaming
I am trying to understand why I have a constant stream of successful handshakes within an org even though I have not explicitly subscribed to a topic. Workbench spews hundreds of successful handshakes ...
0
votes
0
answers
67
views
Cometd does not receive messages on a Filtered Pushtopic for custom profile
I have a lightning cometd. When I use pushtopic without filter for a custom profile it works. When I add filter, it does not receive the messages. If I login as system admin, the filtered pushtopic ...
0
votes
1
answer
197
views
Not getting updated related records after receiving event sent over Push Topic
I have created one Push Topic for one of my custom objects i.e. LogInfo. This custom object is responsible for storing the status of Apex Batch job. So the object stores the Job status from ...
1
vote
0
answers
150
views
Push topic connection in salesforce is time out within few seconds (sandbox - Winter 20) and gives the error 403::Unknown Client
I'm trying to connect push topic server via workbench. But connection is dropping within few seconds. The permission required for the login user to connect streaming API was given in the sandbox. What ...
3
votes
0
answers
29
views
What sort of animals are PushTopics?
We have verified that PushTopic exhibit a strange behaviour: if you have a PushTopic with a given name in your org, and you try to insert a PushTopic with the same name in a test, you get a failure.
@...
2
votes
1
answer
574
views
Streaming API to refresh a Lightning page/App
I want a functionality which automatically refreshes a lightning page when there is a update in the object record details. I'm trying with Streaming API to achieve this. But the page is not refreshed ...
0
votes
1
answer
66
views
MCCordovaPlugin, getting Push Notifications only when contactKey is set to my phone number?
I don't remember if my phone number is somehow tied to sending push notifications or not.
At this point, I am always able to successfully send and receive outbound push notifications if i ...
5
votes
0
answers
732
views
System.QueryException: sObject type 'PushTopic' is not supported
As part of our managed package we have a post-install script that inserts push topics to support the integration between our solution and SF.
Before today this post install script worked fine. I was ...
1
vote
1
answer
1k
views
How to solve inconsistent 403::Unknown Client error on subscribe when using lightning:empApi
Every other time I attempt to use the lightning:empApi component to subscribe to a Push Topic channel the EMP API component reports error '403::Unknown Client'
After the EMP API component reports the ...
1
vote
1
answer
50
views
Pushtopic transactions out of order
We are seeing an "update" transaction coming before the "insert" transaction. Replay ID of Insert is higher than the Update Replay Id. Is this expected to happen?
1
vote
0
answers
365
views
Push topic and empApi filtered subscription not working after record page refresh (F5) [duplicate]
I need to use filtered subscription using lightning:empAPI for Push Topic notifications. But it does not work with Id filter after records page refresh (F5) whereas when it subscribes on the first ...
1
vote
0
answers
990
views
Streaming API PushTopic VS Trigger and API Callout
I haven't used the Streaming API yet. I was just researching on it actually and I like the option for PushTopics. However it's not clear to me what's the advantage/difference using that versus a ...
0
votes
1
answer
477
views
Is it possible to setup a PushTopic for all columns in a table?
Is it possible to setup a push topic to monitor all columns in a table?
e.g. use the SOQL query
SELECT * FROM Account or SELECT Id, * FROM Account
When I try this I get the following error which ...
4
votes
4
answers
2k
views
How to make Filtered Subscriptions work for empAPI and Push Topics?
I have a very simple component:
PushTopicTest.cmp
<aura:component implements="flexipage:availableForAllPageTypes" access="global">
<lightning:empApi aura:id="empApi"/>
<aura:...
0
votes
1
answer
161
views
Streaming API to transfer FILES to online cloud storage
Using the SF documentation I have created a custom object with the FILES related list.
Using workbench I can successfully see that it receives a message when a new record on that new object is ...
2
votes
0
answers
305
views
Error : 403 Unknown client JAVA
I have a salesforce developer account . I was trying to use push topic notifcation via Java code as explained in https://github.com/SalesforceSFDC/Salesforce-Streaming-API/blob/master/...
2
votes
1
answer
776
views
Verify PushTopics are firing
Is there a way to check whether PushTopics are pushing their topics? I have verified that the PushTopics exist in the database
SELECT Name,Query FROM PushTopics
But is there a straightforward way to ...
3
votes
1
answer
2k
views
Subscribe to multiple channels using CometD
I'm trying to subscribe to multiple channels with CometD. I'm using the CometD static resource and syntax as per the Trailhead project: https://trailhead.salesforce.com/projects/workshop-platform-...
1
vote
2
answers
789
views
Pushtopic dynamic SOQL
Our front end web application (Salesforce treated as background in this case) makes a call to Salesforce when customer submit an application. The application process might take upto 2 minutes , so the ...
6
votes
0
answers
250
views
Push topic message event type is always "updated" even when inserting object
I'm subscribed to two different push topics, and one of them doesn't register any event types as "Create" only as an "Update".
My config for the working push topic is as follows:
{
"Name": "...
0
votes
1
answer
430
views
Do I need to re initialize longpolling client with new access token on every connection session timeout?
Sample code how I'm initializing LongPollingTransport to create Bayeux client for subscribing pushtopic ,
LongPollingTransport transport = new LongPollingTransport(options,
httpClient) {...
1
vote
1
answer
541
views
Unable to create Salesforce PushTopic wih query on Event object
I'm trying to create a PushTopic on Event object using REST API with data
{
"Name" : "EventTopic",
"Query" : "SELECT Id,Subject,Location,StartDateTime,EndDateTime,IsDeleted,IsAllDayEvent ...
0
votes
1
answer
854
views
What is the differences between pushtopics and platform events? [duplicate]
what is the differences between pushtopics and platform events?
When i can use the pushtopics and when i can use the platform events?
thanks
1
vote
2
answers
838
views
How to test PushTopic creation
I'm running into an error - duplicate exists - while trying to test my PushTopic creation class. This is an known issue from 4 years ago (PushTopic Test: Duplicate Name Bug?)
In the meantime, is ...
2
votes
0
answers
153
views
Alternative for event machines to process pushTopics?
We have a Ruby app which has a continuously running Rake task which listens for Salesforce pushTopics using the gem Restforce (and Faye). The Restforce gem is compatible with an older version of Faye (...
0
votes
1
answer
2k
views
Subscribe Salesforce without using EMP Connector
I am writing a java application where a change in Salesforce Account should hit my java application through Streaming API.I gone through various articles and I found it can be achieved through Emp ...
4
votes
1
answer
208
views
Can we create Push topics on external objects?
I have set up a Push Topic on an external object to look for the 'Create' Activity. However, when I create an External object record, the Workbench Push Topic Window doesn't receive a Message. Is ...
0
votes
1
answer
327
views
Can I create PushTopic on CaseComment
I am trying to create a pushtopic to listen to the CaseComment object. Typed the following in the ApexExec:
PushTopic pushTopic = new PushTopic();
pushTopic.Name = 'CaseCommentTopic';
pushTopic.Query ...
8
votes
2
answers
3k
views
PushTopic not notifying for updates
I have successfully created a PushTopic through the PHP Force Workbench running locally. Then, I monitor the results under the 'Streaming Push Topics' feature in Workbench.
Here is the PushTopic:
...
3
votes
2
answers
1k
views
Streaming API: Replay Events/ Durable PushTopic from java client
Useful new feature, GA Summer'16. I like it.
While I can successfully consume streaming api via java client, no problems, I am unable to take advantage of this new replay option with my java client.
...
4
votes
1
answer
2k
views
Getting PushTopic notifications from salesforce in python [closed]
I am very new to salesforce streaming api. I am trying to get PushTopic notifications from salesforce for my custom object but I am not getting any idea about how should I start. Can you please ...