Questions tagged [pushtopic]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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 ...
6
votes
2answers
815 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: ...
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, ...
6
votes
0answers
110 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": "...
5
votes
2answers
428 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 ...
5
votes
0answers
27 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 ...
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 ...
3
votes
1answer
462 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-...
3
votes
2answers
513 views

PushTopic in managed package

Is it possible to restrict rights to delete of Pushtopic that is created in managed package?
3
votes
2answers
781 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. ...
3
votes
1answer
85 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 ...
3
votes
1answer
182 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....
2
votes
3answers
409 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 ...
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 ...
2
votes
3answers
318 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:...
2
votes
0answers
139 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
1answer
188 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 ...
1
vote
1answer
261 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 ...
1
vote
2answers
302 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
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 ...
1
vote
1answer
19 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
71 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
176 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 ...
1
vote
0answers
78 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 (...
1
vote
0answers
783 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 ...
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/...
1
vote
2answers
136 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 ...
1
vote
1answer
39 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 ...
0
votes
1answer
58 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
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
45 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 ...
0
votes
1answer
79 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) {...
0
votes
1answer
547 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 ...
0
votes
1answer
172 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 ...
0
votes
1answer
277 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
159 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
254 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 ...
0
votes
0answers
53 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 ...
0
votes
0answers
22 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
399 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
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
44 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 ...
0
votes
1answer
556 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 ...