Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [pushtopic]

The tag has no usage guidance.

0
votes
1answer
99 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 ...
3
votes
1answer
171 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....
1
vote
1answer
17 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?
0
votes
0answers
25 views

Getting a list of clients listening to Streaming API - Debugging Recurring 403::Unkown client errors for PushTopics

We have a Ruby-on-Rails application which has a "listener" using Restforce(and a Faye 0.8.9 client) for 4 Push Topics from Salesforce. All our PushTopics are API version 41 A few days ago the ...
1
vote
0answers
47 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 ...
2
votes
2answers
208 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
0answers
99 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
45 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 ...
0
votes
0answers
20 views

Pushtopic for streaming api

I am currently trying to set up a stream api for email message. The problem I am currently having is that Pushtopics do not support email message(that I know of). Does anyone know of a work aound for ...
0
votes
1answer
42 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 ...
3
votes
1answer
325 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
1answer
37 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 ...
2
votes
0answers
122 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
2answers
122 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 ...
0
votes
0answers
16 views

push notification for service cloud not working for lookup fields

I have configured 'Push notifications' for a servcice cloud console app I have configured them as below Choose How Detail Pages Refresh: - Automatically Refresh 1)The detail page automatically ...
0
votes
0answers
160 views

Push Topic streaming events not recieved when Account.LastActivtyDate changes

I'm using the salesforce "push topic" streaming api. I am successfully getting events when the account name and owner is changed; however I do not receive an event when an activity is logged and ...
2
votes
2answers
342 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 ...
6
votes
0answers
101 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
70 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
234 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
329 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
261 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
63 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 (...
6
votes
2answers
658 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: ...
0
votes
1answer
416 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
77 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 ...
4
votes
1answer
1k 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
151 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
1answer
1k 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 ...
3
votes
2answers
739 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. ...
0
votes
1answer
256 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
540 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 ...
6
votes
1answer
985 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, ...
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 ...
0
votes
1answer
27 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
1k 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
42 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
156 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 ...
3
votes
2answers
487 views

PushTopic in managed package

Is it possible to restrict rights to delete of Pushtopic that is created in managed package?
5
votes
2answers
407 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
0answers
757 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
185 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
2answers
1k 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
33 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/...
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 ...