WebCenter Sites 12c and a Custom Pick Asset Attribute Editor

The Sites 12c documentation has some instructions and examples of setting up a custom attribute editor, but they don't get very complicated. I wanted to add some functionality to the built in editor for picking an asset and realized there are a lot of steps so blogging about it might be usefull for others. Building UI enchancements can feel like putting together a puzzle for the first time. This won't show a full working example but I'll point out all the files and key things that had to be done to add a button next to each selected attribute whether or not the attribute is set to single...

Enhance your WCS Dashboard Widgets with D3.js

As far back as I can remember, WebCenter Sites' Contributor UI dashboard widgets have been simple HTML tables full of text. Behold, D3.js, a JavaScript library that helps "bring your data to life" and easily create animated graphics. 

A good use case for this is the two dashboard widgets that come with Function1's LingoTek inside WebCenter Sites product (pictured below), which simply show some numbers about recent activity between WCS and Lingotek.

 

...


Modifying the Approval Screen in the Contributor UI

In some cases, you may want to approve two or more assets at a time. For example, suppose every time you approve a widget asset, you want to automatically approve the Page asset containing it. Because the Page is not a dependency of the Widget, WCS doesn’t automatically ask you to approve it.
 
So, it would be helpful to have the Approval Screen automatically show both the Widget and Page assets. Making this customization is straightforward.
 
The elements controlling what’s displayed on the Approval screen are the following:
  1. UI/...

How to create a custom left navigation pane in WebCenter Sites Contributor UI (11.1.1.8)

In this blog, I would like to show how to create a custom left navigation pane in contributor UI for 11g. As the name suggests, navigation panes are used to show trees or navigation hierarchy for assets within a site.

To create a new navigation pane, we will, first need to extend the LeftNaviagtionConfig element. This element can be found here:

UI/Layout

Copy content of this element into a new CSElement. For this example, create the following element.

CustomElements/<your site name>/...


WebCenter Sites Dojo Tips & Tricks

WebCenter Sites allows you to customize the UI in many ways. Much of the UI is rendered using Dojo, but very little of WCS's Dojo APIs are documented. Here are a few simple Dojo code snippets that may be of use to you:

Display Info, Warning, or Error messages

The WebCenter Sites developer guide describes how to display an "info" message (the green message pictured above), but you can also display warning (yellow) and error (red) messages:

var view = SitesApp.getActiveView(); // the active view (AKA the current tab)
view.info("OK Message.");            // display...
          

Being Unique is All About Being Different

Unique: (adjective) Existing as the only one.

Being unique is something we strive for, to be the only one of “us”. Wouldn’t you like for your Splunk app to be the same? For customers to use your app and see your color, your logo, your complete customization.

 

Here is my app, F1 Demo, as “bare bones” or basic.


Stay In Touch