Aug 2014

Security Vulnerabilites in Customer Portal pagesets

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.

Custom RN Ajax Success Handlers

The RightNow Customer Portal website solution heavily utilizes JavaScript and AJAX features as part of its core functionality. While these features are very powerful, some otherwise simple development tasks become exponentially more complicated. One category of customizations I've historically struggled with was performing custom logic after a form submit has occurred. I've run into this type of customization many times; some projects need to dynamically redirect to a different page than the default confirmation page; others want to send some custom tracking to Google Analytics.

Passing search filters to multiple reports on a page with a sidestory of page name lessons learned (i.e. what not to name your Customer Portal page)

I recently learned a hard lesson about page names in Customer Portal. In my case, I was building a report search page that contained a bunch of filters and a Grid widget that showed the results of my report search. Not thinking twice about it, I named my page "search.php" so that its URL would be https://subdomain.custhelp.com/app/search.

CXDev Toolbox - PHP Stub Generator

The PHP Stub Generator is a developer centric tool that enables IDE code completion for the RightNow ConnectPHP API. The tool uses information from your site to create a PHP stub file with PHPDoc comments for every Standard Object, Custom Business Object and Custom Field on your CX site. When the PHP stub file is added to an IDE that supports PHPDoc's (Netbeans, Eclipse, etc), ConnectPHP classes and methods are included in the IDE's code completion functionality.

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.

Using cURL in Customer Portal (CP3)

It is possible with most Customer Portal sites to make outbound HTTPS/HTTP calls to external services using the PHP cURL library. CURL is installed and available as a PHP extension that can be dynamically loaded in your scripts.

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