Force.com-JavaScript-REST-Toolkit
Force.com-JavaScript-REST-Toolkit copied to clipboard
RemoteTk enhancements: 7 new methods.
New Methods:
Component | Controller
Clone | sObjectKlone describeFieldsSet | describeFieldSet describePicklistValues | describePicklistValues getObjectType | getObjType getQueryResultsAsSelect2Data | getQueryResultsAsSelect2Data queryFromFieldset | queryFromFieldset soqlFromFieldSet | soqlFromFieldset
New Inner Classes:
Class name | Purpose
picklistValues | Json Helper class Select2Data | Json / Select2 Helper class QueryString | Represents soql query clauses
Notes: While most of the methods are by-name self-explanatory, there are a couple of important notes:
- Select2 is an open source offshoot of Chosen, and can be found here: http://ivaynberg.github.io/select2/ the getQueryResultsAsSelect2Data method returns the results of the soql query as tuples formatted for select2 consumption.
- Clone could be more robust.
- I've tried to make these as type agnostic / metaprogramming friendly as possible, but any insight into making these additions better would be greatly appreciated.
- Developers only get better through code reviews -- I covet your feedback, good or bad.