Force.com-JavaScript-REST-Toolkit
Force.com-JavaScript-REST-Toolkit copied to clipboard
ForceTK - a minimal Force.com REST API for JavaScript apps
Currently the simplest way to get information about the current user is to interrogate the Chatter REST endpoint "/chatter/users/me/". I've found this useful in many use cases, hopefully others will...
added small code to retrieve method to retrieve all fields if fieldlist is null.
Return a promise from each RemoteTK function for compatibility with ForceTK. Passing a callback is now optional as callbacks can be attached to the promise returned instead. Uses jQuery's Deferred...
If an uncaught exception occurs in RemoteTKController, pass the error returned by the javascript remoting call to the error callback. _My change from #31 is included as well._
Include the createable/updateable flags with the fields returned by the describe call so fields that should not be sent to create/update/upsert calls can be filtered out.
Add "buffer" attribute to RemoteTK component to allow batching of javascript remoting calls to be disabled.
Creating or updating with an empty string for a date field should be possible. The empty string should be interpreted as null for date fields as is already the case...
Replaced the TODO with the logic for retrieving all of the fields when the fieldlist is null or an empty string.
New Methods: ## Component | Controller Clone | sObjectKlone describeFieldsSet | describeFieldSet describePicklistValues | describePicklistValues getObjectType | getObjType getQueryResultsAsSelect2Data | getQueryResultsAsSelect2Data queryFromFieldset | queryFromFieldset soqlFromFieldSet | soqlFromFieldset New Inner Classes:...