Expert Articles

Comprehensive resources for Oracle RightNow developers and consultants

Disabling automatic re-sizing of workspace add-ins

Posted by jack.whitehouse on Tuesday, January 21, 2014 - 12:36pm
jack.whitehouse's picture

The Problem

You want to add a control to the table that so often exists at the top of a workspace. So you create a label and a workspace config to allow it's width to be adjusted. You then meticulously count pixels until your label fits perfectly with the other labels already in the column. (This could probably be considered a defect, or at least a very nice to have enhancement). However, once you load your workspace with a record the size of your label is off.

Workspace Config

Setting custom fields via SOAP - The Better Way

Posted by jack.whitehouse on Thursday, December 12, 2013 - 9:45pm
jack.whitehouse's picture

After a fairly significant rant about the difficulties that go into setting a custom field or attribute on a base object
(Setting custom fields via SOAP) I figured it's past due to come up with a reusable solution.

I've created two extension methods for the base RNObject class: GetCustomField(string fieldName) and SetCustomField(string fieldName, object value, DataTypeEnum typeEnum).

Usage is dead simple:

Updated: SP5 (in CX 13.2) Commit Bug w/ active CPM

Posted by AW Rowse on Thursday, December 12, 2013 - 10:03am
AW Rowse's picture

Updated 2013-12-17: Additional tests found that this issue only manifests when a CPM is active on an object. The post has been updated to reflect the new findings

Supplying Contextual Report Filters to CBO Reports in Customer Portal

Posted by AW Rowse on Wednesday, December 11, 2013 - 8:10pm
AW Rowse's picture

In Customer Portal you may notice that much of the content is supplied by Analytic Reports that are filtered by the ID of the logged in Contact. An example of this is the list of submitted Incident's found on the Account Overview page (/app/account/overview).

The framework automatically adds a Contact ID filter for Incident type reports as well as Answer type reports. Unfortunately this contextual filter is not automatically added for any other object types.

Creating Custom Page Meta Tag Attributes in CP3

Posted by AW Rowse on Tuesday, December 3, 2013 - 11:04am
AW Rowse's picture

Page meta tag attributes are a Customer Portal feature that allow a developer to establish page behaviors in a declarative fashion. A meta tag is placed at the top of every page (/views/pages) and behavior is defined through the addition of attributes and attribute values. Except for very rare cases, each page has a page meta tag.

A typical meta tag looks something like this:

Pages

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