Difference between revisions of "Code Samples"
From AgileApps Support Wiki
imported>Aeric |
imported>Aeric |
||
Line 1: | Line 1: | ||
The following library of code samples were contributed by our staff, partners and users, and are provided for educational purposes. You are welcome to copy and use these samples in your implementation. If you come up with something wonderful and want to share, contact us and we'll add it to the library. | The following library of code samples were contributed by our staff, partners and users, and are provided for educational purposes. You are welcome to copy and use these samples in your implementation. If you come up with something wonderful and want to share, contact us and we'll add it to the library. | ||
* Java Code | * Java Code Samples | ||
:*[[Getting Started with the Java API]] | :*[[Getting Started with the Java API]] | ||
*REST API Samples | *REST API Code Samples | ||
** [{{DOCHOST}}/samples/demo/rest/BaseClient.java BaseClient] - A client app that logs into the platform. (Requires BaseUtil) Can be extended to perform additional operations. | ** [{{DOCHOST}}/samples/demo/rest/BaseClient.java BaseClient] - A client app that logs into the platform. (Requires BaseUtil) Can be extended to perform additional operations. | ||
** [{{DOCHOST}}/samples/demo/rest/BaseUtil.java BaseUtil] - Utility methods used by the Base Client | ** [{{DOCHOST}}/samples/demo/rest/BaseUtil.java BaseUtil] - Utility methods used by the Base Client | ||
Line 11: | Line 11: | ||
** [{{DOCHOST}}/samples/demo/rest/StaticResourceUploadClient.java StaticResourceUploadClient] - Extends BaseClient to log in and then upload a static resource file. | ** [{{DOCHOST}}/samples/demo/rest/StaticResourceUploadClient.java StaticResourceUploadClient] - Extends BaseClient to log in and then upload a static resource file. | ||
** The [[REST API]] pages also contain a number of additional code samples | ** The [[REST API]] pages also contain a number of additional code samples | ||
* JavaScript | * JavaScript Code Samples | ||
:* See [[AJAX and REST]] for examples invoking REST APIs from JavaScript code. | :* See [[AJAX and REST]] for examples invoking REST APIs from JavaScript code. | ||
:* See the [[JavaScript]] pages for custom code that executes at the Field level, on Forms and in Lookup Fields. | :* See the [[JavaScript]] pages for custom code that executes at the Field level, on Forms and in Lookup Fields. |
Revision as of 21:49, 2 July 2013
The following library of code samples were contributed by our staff, partners and users, and are provided for educational purposes. You are welcome to copy and use these samples in your implementation. If you come up with something wonderful and want to share, contact us and we'll add it to the library.
- Java Code Samples
- REST API Code Samples
- BaseClient - A client app that logs into the platform. (Requires BaseUtil) Can be extended to perform additional operations.
- BaseUtil - Utility methods used by the Base Client
- BulkUploadClient - Upload object data en masse.
- PackageDownloadClient - Download a published package.
- PackageSubscribeClient - Subscribe to a published package.
- StaticResourceUploadClient - Extends BaseClient to log in and then upload a static resource file.
- The REST API pages also contain a number of additional code samples
- JavaScript Code Samples
- See AJAX and REST for examples invoking REST APIs from JavaScript code.
- See the JavaScript pages for custom code that executes at the Field level, on Forms and in Lookup Fields.
- See also: