Investigating Sites Tables in R

A very common theme is being asked to do some analysis on a WebCenter Sites installation but not having direct access to the system.

In this blog we will show you how you can take simple Sites Explorer or Catalog Mover exports and interrogate them in R.

If you are not familiar with R you can find more information at https://www.r-project.org/.  Basically it is a statistical programing language which does many things like you would do in Excel except programatically.

First we load up the XML library to process the html files:...


WEM Assets: Understanding the Assets in WebCenter Sites

One of the great advantages of implementing a web experience management tool such as WebCenter Sites is the standardization and management of assets. In the words of many of my non-developer friends and even my own father, Long pause …“Ok that doesn’t mean anything to me, I thought you built websites. What is an asset?”   

Simply put in WCS everything is an asset. Let me explain. An asset is defined as:

“An object that stored in the WCS database that can be created, edited, inspected, deleted, duplicated, placed into workflow, tracked through revision tracking,...


WebCenter Sites 12c Performance with Asset Reader API and Groovy

WebCenter Sites 12c introduces a number of new APIs to use when building out your sites. The developer documentation puts an emphasis on using an MVC approach that is aided by the new groovy controllers and reader APIs including the new asset reader API. Using an MVC approach to build out a site allows for a nice and clean separation of your business logic from the display logic. You can see the official documenation on all the APIs at http://docs.oracle.com/middleware/1221/wcs/wcs-develop.htm and also at...

Fundamentals of WCS' Public Site Search Infrastructure

Webcenter Sites ships with Apache Lucene.

Apache Lucene drives:

  • Asset-oriented search within the Contributor UI. This is automatically set up by default on an standard install. Users can enable / disable it on a per asset type basis as needed.
  • Asset-oriented search through a WCS-driven website's search box (or any equivalent feature). Developers must implement website-specific search logic; WCS provides a very basic API for this purpose.

In this post, we will focus on the fundamental aspects regarding Lucene-driven asset-oriented search in WCS-...


How To Programmatically Create Vanity URLs

Since version 11gR1, WebCenter Sites has natively provided the capability to allow editors to create vanity URLs for assets out of the box.  Even before that frameworks such as the GSF extended the core product to provide that functionality.  With the SEO benefits and pleasant visitor experience, Vanity URLs have become a necessary feature without which websites’ cannot launch.

WebCenter Sites has the built-in capability to automatically generate vanity URLs upon asset creation via a set pattern.  However there are situations where content is created prior to this mechanism being...


Integrating Twitter and WCS: A Primer On Asset Event Listeners And Other Mechanisms

Welcome back!

In my previous article, I outlined the different mechanisms in WCS for plugging your own ad-hoc logic into the asset save processing flow.

Before diving into the subject at hand, here are a couple of things we are NOT going to resolve in this article:

  • The "best possible" asset model for supporting Twitter integration.
    • Asset model, like any data model, varies significantly depending on each...

On Asset Event Listeners And Other Ways of Hooking-up Ad-hoc Logic Into WCS' Asset Save Processing Flow

 

DISCLAIMER (/ SPOILER): in this blog entry, we will not explain what an asset event listener is nor how to create one; they have been around since WCS' stone age and there is extensive documentation out there explaining that in detail, including - but not limited to - WCS 11g's official documentation and Java API:


Managing AngularJS Content within Oracle WebCenter Sites

There are a multitude of reasons organizations will turn to a content management system, but the underlying goal is the same across the board: Managing your content in an organized way.  The examples that first come to mind include managing assets such as page titles, articles, images, but what happens when a more complex asset is introduced like an AngularJS widget?

A Tale of Two Cities:

With WebCenter Sites you don’t have to give up control of the contents of your organization’s widgets. Out of the box WebCenter Sites does not natively support...


Installing Eclipse Groovy Plugin

     ­­­As of WebCenter Sites 11g, Groovy is supported when used as an element type. It is suitable for when what you want to implement some business logic/computation in a familiar JAVA syntax-scripting environment (1). Groovy Language has a lot of features that are GROOVY! You need to install the Eclipse Groovy Plugin (if you are using eclipse as your IDE) for better development experience, error checking, code completion, code coloring, and etc. 

How to install Eclipse Groovy Plugin:

1-    In your Eclipse in the top...

Stay In Touch