An alternate approach to integrating WebCenter Sites with WebCenter Portal

Over the years there have been many attempts at integrating WebCenter Sites with WebCenter Portal (and vice versa). None of these attempts were without significant issues and none have met with wide acceptance in the field. This blog post suggests a very simple pattern that would provide a lot of value for many clients. The […]

How to Get Mobile Access to WebCenter Portal Activity Stream

Introduction Oracle WebCenter Portal (WCP) provides the activity stream for a portal via a Representational State Transfer (REST) interface. This article describes accessing this activity stream from a mobile device, making use of the Oracle Service Bus (SB), and the Oracle Mobile Application Framework (MAF). The WCP activities are persisted on the mobile device using […]

Summary of Mobile Access to WebCenter Portal Activity Stream

Introduction Oracle WebCenter Portal (WCP) provides a list of activities that have recently occurred in a portal, called an activity stream, via a Representational State Transfer (REST) interface. This article summarizes accessing this activity stream from a mobile device, making use of the Oracle Service Bus (OSB), and the Oracle Mobile Application Framework (MAF). The […]

How to Manage Single-use Accounts and Multiple Scripts When Testing WebCenter with OATS

Introduction A previous blog post discussed how to generate and consume user accounts when testing WebCenter with OATS.  In this scenario, the generated user accounts can only be used once. This blog post addresses the additional complexity of multiple scripts that each do a part of the overall test case, with each script using the […]

WebCenter – All articles

Index of WebCenter Portal articles

Showing Mobile Number in WebCenter Spaces

One of our customers recently had trouble with Hierarchy viewer in Webcenter Spaces. They were unable to see Mobile numbers for any user other than the logged in user. All other info was visible.

Here’s how to enable viewing mobile numbers in Hierarchy viewer Org chart:

· Login to Spaces as Administrator

· Navigate to Administration > Configuration > People Connections > Profile

 

· You will notice in the Profile Attributes sections that the Mobile Phone is in Business Contact section while Phone is in Summary section

· In the Profile Access section (as shown in the screenshot above), Change the “Who can view this section” for Business contact to “Authenticated users”

· For Testing purposes only, change the Profile Cache Settings to have a lower timeout value.

· Restart Spaces for timeout changes to take effect.

 

Protecting a WebCenter app with OAM 11g – the Webcenter side

Recently, there was a customer requirment to enable a WebCenter custom portal application to have multiple login-type pages and have the authentication be handle through Oracle Access Manager (OAM) As my security colleagues would tell me, this is fully supported through OAM.  Basically, all that would have to be done is to define in OAM individual resources (directories, URLS , .etc) that needed to be secured. Once that was done, OAM would handle the rest and the user would typically then be prompted by a login page, which was provided by OAM.  I am not going to discuss talking about OAM security in this blog.  In addition, my colleague Chris Johnson (ATEAM security) has already blogged his side of the story here:  http://fusionsecurity.blogspot.com/2012/06/protecting-webcenter-app-with-oam-11g.html .  What I am going to cover is what was done on the WebCenter/ADF side of things.

RIDC Accelerator for Portal

Have you ever wondered how to extend the integration between WebCenter Portal and WebCenter Content. As you maybe know there is a magnitude of service enabled operations in WebCenter Content which is not available through the Out-Of-The-Box integration with WebCenter Portal.
How there is a solution for this, the Out-Of-The-Box API Remote IDOC (RIDC) is a publicly available Java API that can interact with the entire stack of Content Services. This post will go into deep on how to accelerate such development by using a example library that Oracle A-Team developed and recommends.

Portal and Content – Components, part 3 – Applied Customization Framework (4 of 7)

 

Have you ever been challenged with the situation where your work task asks you to implement functionality in the WebCenter Portal and you browse through the Resource Catalog (Business Dictionary) and find the functionality you need. However when you get started there is small short comings and you ask your self
– how can I re-use what is out of the box ca?
– I wonder what code I need to use to produce the similar functions and include my new requirements?
– Must I write a new taskflow?

The answer to above questions are in many times answered with simply you can  do a taskflow customization to out-of-the-box taskflows. In this post I will help you understand how to do such customization.

Best described is a 4 step process, see image flow below for illustration:

Just to clarify few naming confusions that might occur when go through above process.

  1. Customization Role is a function within JDeveloper that will allow you to implement view and flow customizations to existing taskflows
  2. WebCenter Portal – Spaces Taskflow Customization Framework this technology scope do not only refer to WebCenter Spaces, this also include WebCenter Portal/Framework
  3. A taskflow customization do not overwrite or replace any code, it just creates an additional tip view of the taskflow in the MDS for the current application (WebCenter Portal or WebCenter Spaces)

To sum up this simple procedure I also like to help you find your way around the main topic for this post series, this post series is focusing primarily on Content integration with WebCenter Portal, so where can I find content related taskflows in the WebCenter Libraries. The list below mention some useful locations to taskflows and each taskflow page fragments.

 

Library Reference – WebCenter Document Library Service View

Content Presenter
Path: oracle.webcenter.doclib.view.jsf.taskflows.presenter
Taskflow: contentPresenter.xml – The Content Presenter taskflow
Taskflow: contentPresenterWizard.xml – The publishing wizard to select content, select template and preview including contribution

Document Manager
Path: oracle.webcenter.doclib.view.jsf.taskflows.docManager
Taskflow: documentManager.xml – The Document Manager taskflow which includes references to document management feature including browsing, download, uploading and viewing.

For more information on Taskflow customizations please see following documentation:
http://docs.oracle.com/cd/E23943_01/webcenter.1111/e10148/jpsdg_taskflows.htm#BACIEGJD

Index

  1. Introduction – Introduction to the series of posts and what to expect at the end of the series
  2. Components, part 1 – UCM, Site Studio and Content Templates
  3. Components, part 2 – Page Templates and  Navigation model
  4. Components, part 3 – Applied Customization Framework
  5. Scenario 1 – Enable a Portal for runtime administration
  6. Scenario 2 – Enable a Portal for Internationalization
  7. Scenario 3 – Enable a Portal for Content Workflows

Portal And Content – Introduction (1 of 7)

The coming post over the next two months will be included in a new series. The idea is to help the reader to understand how to enable a versatile and manageable portal. Each post will go through a specific use case or lifecycle group of events that a Content Driven Portal requires the development team to consider. The current planning is to deliver following subjects, each topic will be enclosed in a separate blog post.

  1. Introduction – Introduction to the series of posts and what to expect at the end of the series
  2. Components, part 1 – UCM, Site Studio and Content Templates
  3. Components, part 2 – Page Templates and  Navigation model
  4. Components, part 3 – Applied Customization Framework
  5. Content Integration – Best Practices

Background

This post series has been issued to help customers, partners and consultants to understand the concept of a WebCenter Portal project where the main focus or a majority of the portal has content interaction. Today the most portal installations Oracle WebCenter Portal is involved in have a vast majority of content based pages. Many of the Portal projects have or will run into challenges, to mitigate these challenges the portal and content lifecycle has to be well designed. The coming posts will address the main components that should be involved when creating such scenarios; it will also go into details on the process by describing three solution scenarios.
The aim with the scenarios is to give the reader a more hands on understanding of the concept of building and architecting a Content Driven Portal. The selected scenarios are selected based on the most common use cases that we have identified until today.

WebCenter Navigation triggered from UCM Content

 

You probably have already seen in many posts out there how to consume and display content from UCM into your WebCenter Portal Framework application and/or Spaces app. Now I want to show you how to navigate from your UCM Data File to a WebCenter page. You should definitely read this post if you currently have a Site Studio based website and want to migrate it to WebCenter. Unfortunately, currently there is no migration path to take your existing navigation structure from UCM to WebCenter Portal. You’ll have to review your UCM Navigation Model and manually rewrite it, splitting it into many navigation models according to your security needs.
To showcase the solution I created a small sample application with only 2 pages. The first one is the Home page with an UCM data file displayed through Content Presenter. This data file has a link to Page 2.

 

WebCenter Portal Framework

 

The first step is to open the default-navigation-model.xml file in JDeveloper and create an ExternalId url attribute in the page you want to navigate to. In our case it’s Page 2.

externalid

I’ll name it page2.

externalid2

Just to clarify I have the region definition and region template info below.

Region Definition

rd

Title and Content are a plain text and wysiwyg element types respectively.

Region Template
   1: <div>
   2: <div><!--$wcmElement("TITLE")--></div>
   3: <div><!--$wcmElement("CONTENT")--></div>
   4: </div>

Now add the link to Page 2 on the data file. Open Oracle Content Server and select the data file content information. From Content Actions, click on Edit Data File.

edit_df

The Site Studio Contributor window will pop up. I’ll select the Go to Page 2 and create a link.

ssc_link

Notice that $wcUrl(‘ExternalId’) is how we link our contributor data file to Page 2 on WebCenter Portal app. In this case we have $wcUrl(‘page2’).

sslw_edit

Moving back to JDeveloper, we’ll drop the data file from our UCM connection into panelCustomizable in home.jspx, then select Content Presenter to render it.

df_drop

Once the Edit Task Flow Binding window pops up, you’ll see the datasource attribute already populated, where MyContentServer is the name of our UCM connection and DF_BLOG is the dDocName of our data file. Next, we’ll inform who the region template is in the templateView attribute, and put the true value for the regionTemplate attribute.

contentpresenter_taskflow

Voilà! We’re ready to run the app.

WebCenter Spaces

Spaces already provide an ExternalId property when editing a Navigation item, which makes our lives a little bit easier.

spaces

Regarding navigation inside the same UCM data file, there’s no need to change anything in your code. Content Presenter is smart enough to identify that you are making reference to another data file.

 

Single Sign On for WebCenter Interaction

I have spent a little time recently setting up single sign on for WebCenter Interaction. My environment is WebCenter Interaction 10.3 running on Oracle WebLogic Server 10.3 on Windows 2003 Server, with an Oracle HTTP Server (Apache 1.3) HTTP Proxy, … Continue reading