All Questions
Tagged with streaming-api soql
2 questions
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 ...
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;
...