JavaScript

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.

Changing Polling Intervals on Syndicated Conditional Chat

One item that is not exposed in Syndicated Conditional Chat's initialization parameters is the polling interval. The interval is unfortunately hard coded into the widget, but this doesn't mean that you can't control it. There is a widget initialization parameter named "enable_polling"; when this value is set to "false", the widget will not poll the server. This then gives you the chance to write your own polling logic using the syndicated widget frameworks Event system.

This works by subscribing to 2 events

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.

Error in JS API

Tags: 

I have written a script where I add google maps in the workspace based on custom object X_Incident.

In the script, I created an instance of the object like var co = window.external.GetCustomObject("X_Package", "X_Incident");

After this I put an alert message like alert(co);

which returns me the below message

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.

Survey SSL Error

CX Version: 

If your marketing surveys are submitting to an error page that states "you must use ssl to access this resource", there is a quick workaround!

Customizing the Knowledge Syndication widget

I've observed a couple of Knowledge Syndication widget questions popping up lately, so I thought I'd do a quick demo of how you can customize the behavior of the widget.

Customization via Config Options

As always, you can use the standard configuration options during widget instantiation. These are well defined in the CP admin panel and can be found a the following address (substitute in your domain).

https://interface.custhelp.com/ci/tags/syndicated_widgets/standard/KnowledgeSyndication

Pages

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