Expert Articles

Comprehensive resources for Oracle RightNow developers and consultants

Async CPM Development and "My Code's Not Updating!"

Posted by Ben Johns on Thursday, February 4, 2016 - 12:50pm
Ben Johns's picture

While developing asynchronous CPMs, you'll notice that when you make a code change, the site logic may or may not update immediately. In fact, sometimes you may run the CPM and it will appear to use your old code, then the next time it will use your new code, then vice-versa! This is due to the fact that Oracle 'caches' the async code in memory

cURL and Async CPMs

Posted by Ben Johns on Saturday, July 4, 2015 - 12:07pm
Ben Johns's picture

If you are using cURL in an asynchronous CPM to post data to an external endpoint, beware. Calling the \load_curl() method will usually load the cURL library, unless the back-end SPM process that runs your particular instance of the CPM already loaded the library! In this case the CPM will fail, in what appears to be an inconsistently reproducible way.

Get in the habit of wrapping your \load_curl() method like this:

if (!function_exists("\curl_init"))
{
    \load_curl();
}

Quick Tip: Encrypted Pass Through Authentication (EPTA) Initialization Vectors

Posted by AW Rowse on Thursday, June 18, 2015 - 11:01am
AW Rowse's picture

When setting up Encrypted PTA, configuring the correct Initialization Vector in the PTA_ENCRYPTION_IV configuration setting can be confusing. I find the setting documentation misleading unless you really understand what it is asking for.

Per the field documentation:

Customizing the Chat States of the Syndicated Conditional Chat widget

Posted by AW Rowse on Wednesday, June 10, 2015 - 10:46am
AW Rowse's picture

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.

Security Vulnerabilites in Customer Portal pagesets

Posted by AW Rowse on Tuesday, May 26, 2015 - 10:28am
AW Rowse's picture

If your Customer Portal site has a "mobile" or "basic" directory and associated pages in your "views/pages" directory your site might be at risk; especially if you don't use these pages! For nearly all sites created since the release of CP2, this will be the case unless you've taken manual steps to remove them.

Pages

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