CXDev Toolbox 2.0 Now Available

Download the latest CXDev Toolbox. Learn more about the update from the announcement article.
Please see here for details on the recent toolbox outage.

Expert Articles

Comprehensive resources for Oracle RightNow developers and consultants

Controlling the IE Rendering Mode in a Browser Control

Posted by AW Rowse on Wednesday, November 2, 2016 - 12:24pm
AW Rowse's picture

The "Browser" workspace control available when configuring agent workspaces is a powerful feature that enables some really interesting customization and integration options. For those unfamiliar with the "Browser" control, this component allows you to embed an HTML page into a workspace. Besides exposing an API for passing workspace field values at runtime via URL templating, there is also a JavaScript based API for communication between the host workspace and the client webpage.

Abusable Functions in CP, CPMs, and Custom Scripts

Posted by Ben Johns on Monday, February 15, 2016 - 9:56am
Ben Johns's picture

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:

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

Version Matrix has been updated

Posted by AW Rowse on Wednesday, February 3, 2016 - 12:59pm
AW Rowse's picture

It's been FAR too long since any of us have posted. It was an extremely busy Q3/Q4 for 2015, and the expert posts got neglected. I have a lot of good articles planned for 2016, so stay tuned. As a teaser, I've got the following topics on my list. Leave a comment to vote for which should be tackled first.

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();
}

Pages

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