Custom Processes

How to restrict a Agent from selecting a past date for Passport expiry in Agent desktop (Contact Workspace)

Hi All,

Is there anyway to restrict a agent from selecting a past date in contact workspace.

My Scenario :
We have to store only the future date for a passport / visa expiry dates. If it's already expired then we shouldn't allow an agent to create record.

In which way I can achieve this process.


How to run a Batch process via CPM ?

Hi All,

I have a requirement to send all Contact and Contact_CO object's records which is created in OSvC to Eloqua.
Is it possible to run a Batch process via CPM for this requirement?

Thanks in advance.


Getting related object flields.


This is what I have. I need to validate some fields information in the Opportunity object using information from flieds from the related Contact object. This is an Event Handler php code.

Is there a simple way get this information??

Thanks for your help.

Customer webservice Security (Controller)

I am looking for creation of custom web service in Service Cloud that can be invoked from external applications. This has been achieved using CP controller feature.

My requirement is service cloud has multiple validations across different objects.. All these validations are included in CP model and same in exposed in CP controller so that external application makes calls to this CP controller before creating new records into service cloud.

Can you please share if there is any code snippet for security in controller

Using PSLog Library within CPM


I have an interesting situation....

I am using a CPM to try and write to PSLog.

While I am able to instantiate the class from the /cp/lib directory and call the methods I am unable to produce an entry in the logs.

The ID will increment but the row is not visible.

If I attempt to log something from the CP Pages; everything works perfectly fine.....

Any ideas?

How to call an External survey and give Customer contact details as parameter to external survey page

i would like to redirect external survey (Survey which hosted on external webpage) when chat disconnected and provide Chat ID, Customer Name, Email Address to that external page?
we have close_redirect_url attribute to redirect page when click disconnect button but not sure how to send contact detail to this page, can anyone help me on this.

Thanks in Advance.

Integration with Contact Center Software

Hi, we are integrating Oracle Service Cloud with our Anywhere 365 platform. AW365 currently handles all phone and SMS text inquiries.
We are able to retrieve contact information, including incidents from Service Cloud and display them in our AW365 console window.
The part we are having problems with is being able to click on the contact that is pulled from Service Cloud and open that corresponding contact in the Service Cloud console. Agent will be logged in.
Same goes with the incident. Click on the Incident in AW365 and open that incident in Service Cloud.

Chat persistence and embedded

I wanted to ask a question about a new functionality I am working on. We would like to embed the RightNow Chat into an iFrame window on our main site. We need the chat to be able to rebuild itself on any pages on our site. I have been reading the Chat.Communicator.js, Chat.Model.js, Chat.Controller.js, and the Chat.UI.js files to understand how the system treats closing the window, disconnections, reconnections.

Unable to update Organisation Custom Fields

Hi All,

We are on Feb 2016 version of Oracle Service Cloud, and have the attached CPM code written which we would like to use to populate the data from one set of custom fields (Office Address) to another set of custom fields (Shipping Address).

But we are unable to achieve the expected result.

Your help would be appreciated.


Abusable Functions in CP, CPMs, and Custom Scripts

When calling create and update functions from within Customer Portal code, the system requires the use of checks via the RightNow\Libraries\AbuseDetection library method isAbuse(), to ensure the CP endpoint is not under a DOS or similar attack. This is helpful, in theory at least, because it ensures that your CP site is mostly protected from these sorts of attack, but this can cause major headaches when building out more complex solutions. 3 out of 4 scenarios below require some level of workaround, depending on your use-case:


Zircon - This is a contributing Drupal Theme
Design by WeebPal.