Overview

Let us consider that an enterprise is using Oracle Sales Cloud to manage business critical information about its customer accounts and prospects. A Sales Manager has scheduled a visit to a customer and as part of his travel want to visit other nearby customers also.

Oracle Sales Cloud does not have an OOTB capability to locate nearby accounts but this capability can be built in Oracle PaaS as a:

  • Custom Java EE application embedded as a sub-tab into Sales Cloud UI
  • Deployed on Oracle Cloud Services: Java Cloud Service SaaS Extension
  • Enables Sales Representatives to query and locate other nearby accounts


PaaS-SaaS_1.png








 


Figure : Extending Sales Cloud using JCS-SX


Solution Approach

 

When the logged-in user clicks on the embedded sub tab in Sales Cloud, the java application receives the selected account’s context parameters (account id, account latitude, and account longitude) from Oracle Sales Cloud along with a authorization token( JWT, please refer to this blog for more details) in the URL. This short screen cast provides a brief functional and technical overview of this solution.


The java application builds a view criterion and calls Oracle Sales Cloud’s Account Service by passing JWT for authorization. The response would include all accounts (based on logged-in user) that are located within a specific radius of the currently selected account. Please refer to this sample on oracle cloud developer portal for detailed explanation about this extension capability.


The views expressed in this post are my own and do not necessarily reflect the views of Oracle.