You need to sign in to do that
Don't have an account?
pani
Streaming API - jquery loading error
I am trying to test the Streaming API As per the url "http://wiki.developerforce.com/page/Getting_Started_with_the_Force.com_Streaming_API" , but getting following jqery error:
- 1. Uncaught ReferenceError: org is not defined
- (anonymous function)jquery_cometd:7
- (anonymous function)jquery_cometd:107
- 2. Uncaught TypeError: Cannot call method 'init' of undefined
- jQuery.extend._Deferred.deferred.resolveWithjquery15:869
- jQuery.extend.readyjquery15:420
- DOMContentLoadedjquery15:1055
It was some mistake from myside. cometd.js was not loaded properly as a static resource.
All Answers
It was some mistake from myside. cometd.js was not loaded properly as a static resource.
Hi there,
I have written step by step article to implement streaming API and how to debug using firebug in case it fails at "http://shivasoft.in/blog/others/tips/streaming-api-using-jquery-salesforce/".