Friday, 21 March 2014

Quiz questions on AJAX Toolkit

Quiz #1
Correct order of working with AJAX Toolkit:

1.Embedding API calls in Javascript
2.Connecting to the AJAX Toolkit API

3.Processing results obtained from API calls in Javascript

A. 1 -> 2 -> 3
B. 3 -> 2-> 1
C. 2 -> 1 -> 3
D. 2 -> 3 -> 1

Quiz #2
“AJAX Toolkit provides the QueryResultIterator object so that you can easily iterate through results
without invoking queryMore() and queryLocator.”  True/False ?

Quiz #3
“If an Asynchronous call does not complete in an appropriate amount of time, you can terminate the call.”
To do so, which parameter in the callback section has to be used.
Quiz #4
To get the session ID while using AJAX Toolkit in Visualforce page, which statement can be used:
1.  var  _sfdcSessionId = '{!GETSESSIONID()}';
2.var __sfdcSecurityToken = '{!GETSESSIONID()}';
3.var __sfdcSessionId = '{!GETSESSIONID()}';
4.var  _sfdcSecurityToken = '{!GETSESSIONID()}'; 


No comments:

Post a Comment

Thank you for visiting. Your comments are highly appreciated.