New Site Feature: CX Features by Version matrix

Today I published a document that I've been working on for a while; my hope is to extend the benefit I receive to everyone else in the community. This document is a list of Oracle RightNow CX features by version. This will be a living page permanently in the left-hand navigation of As new CX versions are released, the document will be updated accordingly.

Lazy Loading Object Dumper for CPHP

This is a helpful method I find myself using frequently when debugging Connect for PHP code. It will recursively load a CPHP object's properties and return them in a nested array for easy logging.

Verify Peer setting with RightNow cURL

When making an HTTPS connection with cURL, it is essential to validate the certificate of the host you are connecting to. While it is possible to turn off this verification using the CURLOPT_SSL_VERIFYPEER cURL configuration, it leaves your code vulnerable to man in the middle attacks.

Other developers I know (myself included) tend to turn off PEER verification while doing initial development because dealing with certs is often a PITA. I always tell myself, I'll just deal with that later; I have much more important business logic to write.

CPMs: Custom Process Management

Custom Process Models are perhaps some of the most useful features released for developers since custom objects in the Nov '10 release. We now have the ability to run server 'events' on both standard and custom objects. But when you start working with the Process Designer (under Site Configuration in the console) you will notice that the UI and deployment process is extremely clunky. This article describes how to setup a standard CP development cycle to upload code via WebDAV that is directly run in your CPM.

Determining Environment at Runtime

When creating customizations in Customer Portal (CP3), it is important to remember that your code needs to run not only in Production, but should also be engineered to run in a "Clone" environment without modification. This is especially important with integrations to external systems. You wouldn't want non-production data being passed to an external production system.

How to Get Value form a TextInput Widget ?

I am new to Customer Portal. So please excuse the doubts that I'm about to post here.

I've a HTML form under my development/views/pages/CT_Test.php page. In side that page have included two custom widgets.

One was extended form Standard Widget “FormInput” and the other one was extended from Standard Widget “FromSubmit”.

I would like to capture the value entered in the first widget (FormInput) and pass the value to the Second Widget (FormSubmit).

Can anyone let help me out

Thanks in advance.

Accessing 3rd party libs in the Portal


Unable to parse XML response returned by cURL in Customer Portal


I am unable to parse the response received by using cURL. Having tried all the possible ways to parse the xml response, raising this query on the forum.

Even json object returns NULL, when I try to use json_decode($response);

In addition, it seems CP doesn't support the use of DOMDocument object and SimpleXmlElement() classes as I get the Fatal Error: Class not found.

Below is the code snippet in which I am getting a response but there are issues with the response:

1. The response I am getting is flat text response but not xml, I guess we need to convert the response into xml format using methods like simplexml_load_string($response). But this methods are also not supported in CP. CP version is the latest one and RN version is Feb 14. How to convert the response I get using cURL into xml format?

2. json object get null value in it once i start decoding it (please refer to below code snippet for the same.)

I want to retrieve the particular information from the response like OptyId, Name etc. Really appreciate if anyone can respond to resolve this issue.



Senior Cloud Engineer


Denver, CO 80218
United States

Job Responsibilities:

  • Hands-on work configuring, customizing and implementing RightNow CX or solutions
  • Works with business analysts to refine requirements which correctly address business problems and provide sufficient detail to drive the proposed solution
  • Maintain an in-depth knowledge of current RightNow or technology, both internally and within the industry, and its applicability to the organization
  • Prepare, write and review documentation for programs and systems

Useful Constants in Customer Portal (CP3)

The Customer Portal framework has a very long list of defined constants somewhere in the 47,000 range. Most of these are standard PHP constants or ID's for Config and Message Bases, but inside of this list are a handful of very useful constants that can really help with your Customer Portal development efforts.


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