Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
0 answers
342 views

How to retrieve Object name from Push topic API streaming

I created a pushTopic for an object pushTopic.Name = 'InvoiceStatementUpdates'; pushTopic.Query = 'SELECT Id, Name, Status__c, Description__c FROM Invoice_Statement__c'; From Salesforce Java ...
kris's user avatar
  • 11
5 votes
1 answer
1k views

How do you create a pushtopic query with global variables?

Intuitively I would think this is how to do it, but it does not work. pushTopic.Query = 'SELECT id, name, Doer__c from Object1__c WHERE Doer__c =: UserInfo.getUserId()'; pushTopic.ApiVersion = 29.0; ...
Jay Ryoo's user avatar