Questions tagged [pushtopic]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
128 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. ...
0
votes
0answers
20 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
0answers
26 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
1answer
23 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
0answers
58 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
0answers
21 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. @...
0
votes
0answers
94 views

Salesforce will only allow subscription to 1 out of 3 push topics

We have a service that subscribes to three sets of push notifications. When subscribing in sandbox the service is only allowed to subscribe to the first push topic by sales force with the second two ...
2
votes
1answer
165 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
1answer
47 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
0answers
233 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 ...
0
votes
1answer
614 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
1answer
33 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
0answers
232 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
0answers
502 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
1answer
128 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
3answers
790 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
1answer
61 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
0answers
215 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/...
1
vote
1answer
51 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
1answer
818 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
2answers
261 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
0answers
142 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
1answer
163 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
1answer
349 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
1answer
574 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
2answers
470 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 ...
1
vote
0answers
97 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
1answer
1k 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 ...
3
votes
1answer
107 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
1answer
236 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 ...
7
votes
2answers
1k 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
2answers
931 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
1answer
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 ...
0
votes
1answer
359 views

Contract object not supported for Push Topic channel

I am trying to create a push topic notification for the Contract object via the following code: PushTopic pushTopic = new PushTopic(); pushTopic.Name = 'RefreshContract'; pushTopic.Query = 'SELECT Id,...
0
votes
1answer
28 views

Does my org CS version limit which Streaming and REST APIs I can use?

If I'm using Salesforce "Spring 16" (CS10), does that org impose limitations to which Streaming API version I may use? (currently, our Java apps use v33 push topics) Is there any benefit to using more ...
0
votes
1answer
2k views

How can I use PushTopics in Lightning Components

I have been through the Salesforce streaming API demo, and got that working. For anyone wanting a reminder, the page looks like this <apex:page > <apex:includeScript value="{!$Resource....
0
votes
1answer
182 views

Error Creating Push Topic: 'Contract' is not supported

Hi i am trying to create a Push Topic using workbench and i am getting the following error. Error Creating Push Topic: 'Contract' is not supported and my query is SELECT CompanySignedDate FROM ...
0
votes
1answer
69 views

Does Running User FLS affect Push Topic notifications in Streaming API?

I have a push topic query that includes a field hidden from most users in the where clause. My observation is that a notification only occurs when the running user has FLS read or write access to the ...
0
votes
1answer
3k views

CometD Error: Cannot read property 'init' of undefined

I am having a little fun and working with the Streaming API. It was working fine yesterday, and I was able to subscribe without any issues. However, now I am getting this error: Cannot read ...
3
votes
1answer
194 views

Tracking event losses in streaming

I have created a push topic for subscribing to create/delete/update events for the Account object. When I update single Account object I get proper notification/messages through the push topic/channel....
0
votes
1answer
737 views

Streaming API not working in workbench

I am trying to setup a streaming API client and followed the Streaming API setup using workbench section. I have tried on a custom object and standard Case object and made sure all the prerequisites ...
1
vote
0answers
866 views

Streaming API push notifications not working

I'm trying to use push notifications in my developer org. I'm trying this from workbench as well as a VF page that I created but this doesn't seem to be working. I'm not getting any error message. I ...
2
votes
1answer
192 views

Error while creating a pushtopic from java

I am trying to create a push topic in java by following this link . Since there were changes in the eclipse httpclient library (I am using version 9.2.5) I had to make corresponding changes and the ...
2
votes
3answers
522 views

What are the available /systemTopic/ channels in the Streaming API?

There appear to be at least two Streaming API channels that don't require a PushTopic to be created. /systemTopic/Logging for ApexLog from Using the ApexCSIAPI that backs to Force.com Console to pull ...
3
votes
2answers
2k views

Create Streaming PushTopic using REST API?

Salesforce Streaming API documentation gives the examples of creating PushTopics through the developer console by running some APEX code. Is there a way to create PushTopics programmatically using ...
1
vote
0answers
34 views

Remove Push Notif Listener using class/controller

Is there a way to remove notification listener using the class/controller of my VF page? http://www.salesforce.com/us/developer/docs/api_console/Content/...
6
votes
2answers
497 views

Streaming API & managed package

There is Pushtopic usage within managed package which doesn't work because of the following error (This error was identified from https://workbench.developerforce.com -> Queries -> Streaming Push ...
1
vote
1answer
1k views

Push Topic Creation issue for AccountContactRole object

To get updates from salesforce Account, Contact and AccountContacRole objects into my local database. I have create pushTopic for Account and Contact object and receiving update messages using JAVA ...
6
votes
1answer
1k views

Streaming API : not getting updates for some standard fields

I have created a PushTopic from my salesforce developer account using following query : SELECT Id, FirstName, LastName, Name, Email, Contact_Status__c, Contact_Verification__c, Gender__c, ...
7
votes
1answer
2k views

Can a Customer Community user access PushTopics for Streaming API?

I have a PushTopic created, and have a VF page with some js in it that subscribes to the topic and logs any results to the console. I've verified that I'm getting results if I'm logged in as a ...