Code Snippet

Dynamic Forms - Fixing Oracle's Sample DynamicProductCategoryInput Widget

CX Version: 

Customer Portal's Dynamic Forms functionality is extremely useful, but the sample code provided by Oracle is broken right out-of-the-box due to a CP defect.

How to open an External Page from a Syndicated Conditional Chat Link

I'm writing a quick article in response to a question I received on another post inquiring if it was possible to open an external webpage instead of a Customer Portal page when the "Chat Now" link is clicked. Using standard functionality, this isn't possible, but using the techniques I've described in my other Syndicated Widget articles we can modify the core behavior to match our requirements.

Add more than one Secondary contact to Incident through CPM

Hi All,
I am trying to add more than one secondary contact to an Incident through Custom Process.
But, I am facing some error which is not causing the contact to get linked,
Below is the code
$i=0;
$res = RNCPHP\ROQL::queryObject( "SELECT Contact FROM Contact WHERE Emails.Address = '".$mail_addr."' AND Emails.AddressType = 0")->next();

Customizing the Chat States of the Syndicated Conditional Chat widget

For many customers, the default chat service States displayed by the Oracle Service Cloud Syndicated Conditional Chat widget do not meeting their business needs. A common desire is to have the chat link be available, even if all agent's are busy. This gives the user a chance to wait in the queue if they want.

This can be done easily by setting the 'min_sessions_avail' setting to 0, and the 'wait_threshold' setting to a very high value. I usually put it at 1 day by setting it to 86400 seconds.

Fun with Cloud9 IDE and CP3

Today I had a bit of fun with Cloud9 IDE, which is one of the better cloud-based IDEs I've found. It is geared mostly towards front-end web development but has a fully functional Ubuntu OS underneath running in a Docker instance, so you can pretty much do anything.

Quick Tip: Skinning Customer Portal Modal Dialogs

When skinning Customer Portal it is easy to forget the YUI-based modal dialogs unless one happens to pop up during your working session. Most commonly it is the Form Expiration dialog which reminds me that I have additional work to ensure a unified brand experience. This dialog will appear after 5 minutes, which is a long time to wait when testing CSS changes.

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 CXDeveloper.com. As new CX versions are released, the document will be updated accordingly.

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.

Determining the URL for an interface

Occasionally you need to determine the domain name for an interface in RightNow CX. This guide will show you how to do that even if the interface is using a vanity URL (custom CNAME).

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.

Pages

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