Force.com-JavaScript-REST-Toolkit icon indicating copy to clipboard operation
Force.com-JavaScript-REST-Toolkit copied to clipboard

RemoteTk enhancements: 7 new methods.

Open noeticpenguin opened this issue 11 years ago • 0 comments

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:

  1. 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.
  2. Clone could be more robust.
  3. 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.
  4. Developers only get better through code reviews -- I covet your feedback, good or bad.

noeticpenguin avatar Apr 11 '13 14:04 noeticpenguin