Solving the Doctype Filter Insufficiency in Oracle WebCenter Sites

I bet that you have once created an asset, with a doctype filter, uploaded a file as an attribute, and noticed that the filetype and mimetype were not getting pulled. You checked the file once again to see that it had an extension and was actually not corrupted either. Everything seemed ok. You edited the asset. Re-saved it. Shook your head. Sweated a bit. Checked the asset definition to make sure that the doctype filter was still associated with the definition. Checked the doctype filter's attribute names. Well, you never know... a typo here and there... Nope. Nothing. You just don't know...


Site Visitor Service: Turning John Doe to John Smith

With the introduction of WebCenter Sites 12c (WCS) came a new friend, the Site Visitor Service (SVS). Due to the increasing importance of providing a personalized experience, the management of visitor profiles in a website, has become a critical piece of the puzzle. 

Let’s get into it; what is SVS? SVS is not a CRM, nor is it replacing Engage. SVS is a separate web application deployed along with WCS that has its own database. SVS is a framework that provides an integration point to other modules or applications that manage visitor profiles. It is an API that standardizes the code...


Rallying the Troops: Getting Your Team Ready for WebCenter Sites

Making the decision to migrate your platform over to WebCenter Sites is a big decision. It takes a great deal of research, planning, and time to ensure a smooth transition. Often times Web Experience Management teams, like ours at Function1, are brought in during these transition times to provide the expertise, experience, and skill necessary to customize the platform to the organization's needs. As the project nears the point of hand-off, clients are faced with a new challenge: Utilizing and Managing WCS on their own.

Like being tossed the keys to your first car after passing your...


Back Door to Modify an Out-of-the-Box Element When You Only Have Access to the UI

Quite often you need to modify an out-of-the-box element in Oracle WebCenter Sites to either make a change or add some debug code.  Also just as often we don't actually have the access we need to modify said element because it is a simple Element Catalog element and we only have access to the UI.

Do not fret, there is a little trick you can use to gain access to the element for modification.  Simply wrap it with a CSElement.  

If you create a CSElement and give it the full name of the element you are trying to modify it will magically hook up to the actual code.

For...


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...

UID UID, where art thou my UID

My Import for a UID! No, for ‘twas not so simple.  To understand this story we must begin a few versions ago when a tool now known as WebCenter Sites Developer Tools (WSDT) was introduced to finally allow I.T. teams to manage their WebCenter Sites Artifacts within a source code repository such as GIT, BitBucket or SVN.  These artifacts were not just code related, but also content related.  

In addition to enabling the creation of local environments for Developers to truly allow them to encapsulate their work, this tool also opened new avenues for content migration and allowed I.T....


CSDT Tips

CSDT can have a tendency to be "delicate", especially the 7.6 version. At Function1 we recently completed an upgrade from Fatwire 7.6 to WebCenter Sites 11g for a client, and we used quite a lot of CSDT to get the data migrated. Below are some of the lessons we learned along the way, which we bring to you in this blog as useful CSDT tips.

Tip #1: The "toSites" Catch

Say for example that you have exported Site1's assets to a datastore "Site1" using the "fromSites" parameter and supplying "Site1" as the value. That means of course that the datastore "Site1" contains...


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...

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