Oracle CRM On Demand Sample Code


Unless explicitly identified as such, the sample code here is not certified or supported by Oracle; it is intended for educational or testing purposes only. 

You must accept the License Agreement to download this sample code.
Accept License Agreement | Decline License Agreement
Name Created/Modified Description Download
Client Side Extension - Account Hierarchy Sample 2012-02-12 The sample is to illustrate extensions, which accesses data in Oracle CRM On Demand, can be accomplished with Client Side Extensions. A Flash file displays the Account Hierarchy of an account. It calls Oracle Web Services On Demand APIs to retrieve the data necessary for display. Web applet code is necessary in order to display the Account Hierarchy flash file in Oracle CRM On Demand. Account-Tree-CSE.zip
Client Side Extension - Calculator Sample 2012-02-12 The sample is to illustrate extensions, which extends Oracle CRM On Demand functionality, can be accomplished with Client Side Extensions. A Flash calculator is provided. Web applet code is necessary in order to display the Flash calculator on the Action bar of Oracle CRM On Demand. Calculator-sample-CSE.zip
Advanced Techniques: Activity Generation Tool (in Java, using Oracle JDeveloper 11g) 2012-02-12 The sample demonstrates how customers can use multiple Oracle Web Services On Demand APIs to create a tool to perform actions which cannot be done through Oracle CRM On Demand user interface. This tool allows users to choose from a list of Accounts and generate an activity for each of the accounts. Note: Apache Axis and Java SE JDK 1.6 is not distributed or provided as part of the sample. ActivityGenerationTool.zip
Advanced Techniques: Using WS 2.0 Execute method (in Java, using Oracle JDeveloper 11g) 2012-02-12 The sample demonstrates how to use Web Services v2.0 Execute method to Insert, Delete, and Update records. Our best practice is to use Web Services v2.0 APIs as well as batch processing to optimize performance. Note: Apache Axis and Java SE JDK 1.6 is not distributed or provided as part of the sample. CRMODBulkExecuteExampleApp.zip
Advanced Techniques: Batch insert and delete with WS APIs. (in Java, using Oracle JDeveloper 11g) 2012-02-12 The sample demonstrates how to bulk insert and delete a set of data for a record type using Oracle Web Services On Demand APIs. Our best practice is to use batch processing to optimize performance. Note: Apache Axis and Java SE JDK 1.6 is not distributed or provided as part of the sample. CRMODBulkInsertDeleteExampleApp.zip
Advanced Techniques: Integration Event Queue Management Tool (in Java, using Oracle JDeveloper 11g) 2012-02-12 The code sample demonstrates how to handle integration queue using the IntegrationEvent Services API. There are many instances where integration queues are blocked by a bad event and processing cannot continue for the other events in the queue. This tool provides a solution to the problem by providing the functionality to retrieve, dequeue or delete events in integration queues and saves the events locally in XML format. The XML of the bad event can then be manually processed at a later time. With the necessary libraries, this can be run as a standalone Java desktop application. Note: Apache Axis and Java SE JDK 1.6 is not distributed or provided as part of the sample. IntegrationEventQueueManagementTool.zip
Connection Management: Stateless Authentication with Outbound SSO (in Java, using Oracle JDeveloper 11g) 2012-02-12 The sample demonstrates Stateless Web Service requests authenticated using Outbound SSO. The SSO Token has to be retrieved from the User Interface of Oracle CRM On Demand and sent in the SOAP header of the Stateless SOAP request. Note: Apache Axis and Java SE JDK 1.6 is not distributed or provided as part of the sample. StatelessAuthenticateSSOToken.zip
Connection Management: Stateless Authentication with Username and Password (in Java, using Oracle JDeveloper 11g) 2012-02-12 The sample demonstrates Stateless Web Service requests authenticated using Username and Password. The Username and Password is sent in the SOAP header of the Stateless SOAP request. Note: Apache Axis and Java SE JDK 1.6 is not distributed or provided as part of the sample. StatelessAuthenticateUsernamePassword.zip
Connection Management: Stateless Authentication with SAML-SSO (in Java with JAX-WS, using Oracle JDeveloper 11g) 2012-02-12 The code sample demonstrates authentication using SAML-SSO to retrieve a SSO Token for use in Stateless Web Service requests, as well as demonstrates SessionKeepAlive parameter to maintain a Stateless Java session. The customer's on-premise identity management and federation infrastructure must support the SAML 1.1 protocol and token. Note: Java SE JDK 1.6 is not distributed or provided as part of the sample. CRMOD_Stateless_SAML.zip
Advanced Techniques: Insert Activity using JavaScript, WS v2.0 (in ASP.NET, using .NET 1.1 and Visual Studio 2003.) 2011-10-13 The Insert Activity sample code is written in ASP.NET, using the .NET 1.1 framework and Visual Studio 2003. This sample illustrates invoking CRM On Demand Web Services using JavaScript. InsertActivity.zip
Advanced Techniques: Cross Object Sample (UpdateOpptyOwner) (in Java, using JDeveloper 11g and WebLogic Server) 2011-01-25 The UpdateOpptyOwner sample updates the owner field on Product Revenue records based on Owner field change on the Opportunity record. When the Opportunity owner field is updated, the sample updates all child product revenue records. After the update, the owner field on all child product revenue records matches the owner field on the parent opportunity record. A workflow is configured to generate an integration event each time the Opportunity owner field is updated. The Opportunity owner field is tracked by the integration event. UpdateOpptyOwner.zip
Advanced Techniques: Cross Object Sample (AssetfromProdRev) (in Java, using JDeveloper 11g and WebLogic Server) 2011-01-25 The AssetfromProdRev sample creates Asset records based on changes on Opportunity records. When the Opportunity status is updated to "Won", all child product revenue records are converted to assets and are associated to the same account as that of the parent opportunity record. A workflow is configured to generate an integration event each time the Opportunity record is updated. The Opportunity status field is tracked by the integration event. AssetfromProdRev.zip
Advanced Techniques: Lead Generation Page (in JDeveloper 11g and JDK 6) 2010-11-03 The Web application is a sample lead generation page which accepts user input. User inputs values for all the fields on the page and clicks submit. Upon submit, Oracle CRM On Demand Lead Web Service v1.0 is used to insert a Lead into CRM On Demand. Hosting_Code0806final.zip
Advanced WS Techniques (in .NET Framework 1.1) 2010-11-03 The Sample Application provides examples and how-to's illustrating how to use both the WS v2.0 and the WS v1.0 APIs to execute web services operations. The sample illustrates bulk load of data using web services, querying records, update, delete operations. In addition to the standard operations, the sample also illustrates advanced techniques like processing integration events and book assignment using web services. R17Advsample1.zip
Connection Management: Login (in C#) 2010-11-03 Written in the C# programming language, this sample code provides basic login/logoff access to the Web Service API. Login_CSharp_2009.zip
Connection Management: Outbound Single Sign-On (in C#) 2010-11-03 Written in the C# programming language, this sample code demonstrates the Outbound Single Sign On (SSO) feature that allows users who have signed into CRM On Demand using SSO to pass the SSO credentials from CRM On Demand to corporate Web pages or intranets. The SSO credentials are validated and allow users to embed or access corporate portals or intranets from within CRM On Demand. OutboundSSO.zip
Getting Started Kit (in VB.NET) 2010-11-03 Written in VB.NET programming language, this sample code provides access to basic Web Service API functions, including inserting, updating, and deleting data using the Web service API. VBAccount.zip
Getting Started Kit (in C#) 2010-11-03 Written in C# programming language, this sample code provides access to basic Web Service API functions, including inserting, updating, and deleting data using the Web service API. Getting_Started_CSharp.zip