Difference between revisions of "Code Samples"
From LongJump Support Wiki
imported>Aeric m (Text replace - 'Form Layouts' to 'Forms') |
imported>Aeric |
||
Line 4: | Line 4: | ||
:*Data Policy examples that [[Data_Policy#Invoke_a_Java_Method_From_a_Data_Policy|Invoke a Java Method]] as part of the [[Sample Order Processing System]] | :*Data Policy examples that [[Data_Policy#Invoke_a_Java_Method_From_a_Data_Policy|Invoke a Java Method]] as part of the [[Sample Order Processing System]] | ||
:*Other [[Java Code Data Policy Examples]] | :*Other [[Java Code Data Policy Examples]] | ||
:*[[ | :*[[Audit Log Fields#Code_Examples|Audit Log Code Samples (<tt>getRecord</tt> and <tt>searchRecords</tt>)]] | ||
*REST API Samples | *REST API 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. |
Revision as of 21:10, 6 October 2011
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 Examples
- Data Policy examples that Invoke a Java Method as part of the Sample Order Processing System
- Other Java Code Data Policy Examples
- Audit Log Code Samples (getRecord and searchRecords)
- REST API 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
- See AJAX and REST for examples invoking REST APIs from JavaScript code.
- See Scripting for samples of custom JavaScript code that executes at the Field level, on Forms and in Lookup Fields.
- Working with Pages and Classes