Thursday, November 6, 2014

How to consume Peplesoft WSRP Portlets into Webcenter Portal Application ?


This blog explains about how to consume PeopleSoft WSRP Portlets into Custom Webcenter Portal application.

What is WSRP Portlet ?

Web Services for Remote Portlets (WSRP) is a web services standard that allows you to "plug-n-play" visual, user-facing web services with portals or other intermediary web applications. It allows you to create a repository of services that users can reference to surface applications in their portlets or to consume applications from WSRP-compliant Producers, even those far removed from your enterprise.
BEA WebLogic Portal 8.1 SP4 includes an implementation of WSRP that allows the framework to use WSRP portlets.
This section includes information on the following subjects:

Step 1 : Get the WSDL URL for Peoplesoft WSRP Portlet

Step 2 : Right click on 'Connection' in Application Resources -> WSRP Producer as shown below

Step 3 - Select the project where you want to create the WSRP Portlets, Give the appropriate name for the Producer connection


Step 4- Specify the PeopleSoft WSRP Portlet URL, Follow next steps and click on 'Finish'

Step 5 - After successfully creating the WSRP Producer connection, You will see all the available portlets based on the provided WSDL as shown below


Step 6 - Open the Page fragment or Page where you want to display the WSRP Portlets, Drag from the WSRP Producer connection onto the page as shown below


Please refer for more info : http://docs.oracle.com/cd/E13218_01/wlp/docs81/wsrp/intro.html

Thursday, October 23, 2014

How can you make a template as Default template in Webcenter Portal application


This blog explains about how to make a custom template as default template for all the pages that you create in your webcenter portal application ?

- Open your Template.jspx file in Jdeveloper
- Set the value equals ' your newly created template' as shown below

<portal:preference
          id="oracle.webcenter.portalapp.pagetemplate.pageTemplate"
          desc="Default Page Template"
          value="/oracle/webcenter/portalapp/pagetemplates/FMTemplate.jspx"
          resourceType="Template" display="true"/>

Sunday, October 12, 2014

How to Consume a Region Definition file in Webcenter Portal Application using Document Content Presenter ?


This blog explains about How to Consume a Region Definition file in Webcenter Portal Application using Document Content Presenter

Refer below blog to know how to create a Region Definition file

http://www.fortunewebcenterminds.blogspot.com/2014/10/how-to-create-region-definition-file.html

- Launch Webcenter Custom Portal application in Jdeveloper

- Open the Page Fragment or Page where you want to display the Region Definition file.

- Search for 'Content Presenter' component in component pallet


- Drag 'Document Content Presenter' taskflow onto the page as 'region', Fill out the required information as shown below

- Ensure you provided correct details in respective page definition file.

Refer below for more info
http://docs.oracle.com/cd/E28280_01/webcenter.1111/e10273/customize.htm


How to Create a Region Definition File using Site Studio


This blog explains about how to create a Region Defintion file using Site studio, and how can this Region Definition file can be consumed in any Webcenter Portal application ?

Region definitions define the types of content used on a Web site. They could be thought of as 'content classes'. They are essentially groups of individual elements which define the various chunks of reusable information for a particular site content type. For example, as shown in Figure, there could be a region definition ('content class') called "Press_Release," which consists of the elements Title, Subtitle, Intro_Text, Body_Text, and Image. Contributor data files are associated with a region definition to store the data for each element in the region definition. (What a contributor can do with the data is controlled by element definitions; see Elements and Element Definitions.)
In addition to defining site content types in terms of its constituent parts (elements), region definitions also specify the content creation and switching options available to contributors for its associated contribution region(s). For example, if a contribution region is set up to allow contributors to switch the content of that region, they might be allowed to use existing contributor data files on the server only (not native documents or new contributor data files). (Please note that placeholder definitions control whether contributors can actually switch content in contribution regions.) Finally, region definitions also set the default metadata for content in contribution regions as it is checked into the content server.



- Launch Site Studio Designer
- Connect to respective Content Server
       Ex : http://fm039.oracleoutsourcing.com:44017/cs/idcplg
- After successful connection to Content server using Site Studio, this is how you will see.


- Choose ' Region Definitions' in Site Assets Drop down list and click on New -> Region Definition option as shown below screenshot

-Fill the New Region Definition form details, give the proper content ID value as shown below, this is the ID will be used in order to consume this data file in any webcener portal application.


- After successful creation of Region Defintion file, Search for the Newly created Region Definition file in 'Region Definition ' Site Assets window. Double click on newly created RD and choose the value for Label, Name and Element definition based on your requirement, Click on Save.

 - This is how you can create a simple Region Definition file using Site Studio.

Monday, August 4, 2014

How to contribute web content using Site Studio Contributor for Webcenter Portal application.


This blog explains about connecting to 'Site Studio Contributor ' to edit the web content.

What is Site Studio ?
  • Simple to use: SiteStudio guides you step-by-step, providing simple choices regarding color, style and images. There is no software to download and no code to learn. In addition, there is no need to mess around with programs such as FTP.
  • Content and Design Separation: The content of the website is stored separately from the layout. This way, you can completely change the look and feel of your website in six clicks of the mouse, without ever having to retype any information.
  • Complete control over color schemes: SiteStudio includes a number of built-in color combinations that look great with any layout. But if you want to add a little originality to your site, all the colors can be changed, either by using a point-and-click color picker, or, for even more control, typing in the color as a hex number.
  • Layout templates: the layout of the site is controlled by layout templates. These are created in HTML enhanced by a few additional tags for generating images. A number of layouts are included with SiteStudio.
  • On-the-fly Image generation: SiteStudio dynamically generates the images it needs for each web site design, so each time you decide to change the color combination for a page, the layout, or just a button caption, the necessary image is automatically created.
  • User-uploaded images: You will be able to transfer images to your hosting account without ever having to leave your browser. These images can be incorporated into page content or even page design. You can create an online photo album, or insert a personal picture to make it a seamless part of the page logo.
  • Simple point-and-click interface: From making a simple page describing yourself, to creating multiple catalogs and integration with Amazon Associate Program, SiteStudio will let your create just about any kind of page you want.
  • Variety of pages: SiteStudio can be used to make many different pages. Create an online resume, or build a personal photo album. Everything is done in a simple step-by-step process that is easy to learn and to follow.
  • One-click publishing: Your website is published with one easy click. But even after publishing, you can go back and change it as much as you like. Clicking the publish button again will instantly make all the changes made be reflected on the "live" version of the site.
  • Persistence: All your information is saved the moment it is entered. If you decide to log out, you can come back and continue building your web site from the very point where you left off.
  • Complete control over the website: With the use of Site Studio's provided settings, you can make unique and attractive web sites. However for the advanced user, SiteStudio provides a way to change just about every color, every font, every button caption on the site.

Follow below blog to install site studio



How to connect to 'Site Studio Contributor ?

- Launch the Webcenter Portal application 
- Locate to the 'web content' section in Webcenter Portal application
- Press 'ctr+Shift+C'
- You will notice below kind of screen shot with four icons on the top left corner of the 'web content' section



- Add the content as shown below screenshot



How to install Site Studio Contributor ?


This blog explains about how to install site studio contributor

- Login to 'UCM' console
- Choose 'Administration'-> 'Site Studio Administration' ->General Component Information


- Click on 'Download' option as shown below, This will prompt for installation of 'Site Studio' s/w


- After successful installation, Start Menu -> Site Studio Designer
- Establish the connection by specifying valid UCM server connection as shown below



How to configure Webcenter Application Configuration specific settings for Webcenter Portal using Oracle Enterprise Manager

This blog explains about configuring application Settings page to configure application-level settings for your WebCenter Portal application

- Login to EM Console
- Expand 'Spaces' -> Right click on 'webcenter' -> Choose 'Settings'->'Application Configuration' as shown below

- This is one way of determine what version of webcenter portal being used. From the below screenshot we can figure out that we are using'11.1.1.4.0' version.



 Below is the screenshot for 'Application Configuration Settings' page.

Right click on 'webcenter'->'settings'->'Service Configuration' - To configure Service configuration settings.




Wednesday, July 30, 2014

Oracle Webcenter Tips and Short Cuts


How to add/edit content in a Webcenter application at run time ?
- Launch the Portal page which you want to edit, Press 'Ctl + Shift + E" This will allow you perform edit/add new content .

Ctl+Shift+C - To contribute the content.

Oracle Webcenter Workshop Assignments.


- Develop simple 'Hello World' Webcenter Portal (WP) application, Deploy and test.

- Develop WP application with below requirements.
      -> Develop a page template(FortuneMinds.jspx) with 'Header' - 'Title' and 'Company Logo' - Title should be attribute parameter, whoever implements this template, they will pass the 'Title' value.
     -> 'Footer' section- Define an attribute , Implementer will pass this value
     -> Provide Logged in User Name and 'Log Out' Hyper link in Header section.
    -> Provide 'Content' facet - Implementer will replace this with their own content.

- Develop WP application with below requirements.
        ->  Develop 'Fortune Minds' welcome home page with 'Customer', 'Employee' tabs implementing 'FortuneMinds' Page template
        -> Deploy the application and make sure you see Header/Footer/Content on the home page.


Wednesday, July 16, 2014

How to see UCM Content Server Configuration entries using UCM Console

This blog explains about how to verify UCM Server configuration related entries.

Adiministration -> Configuration <Server_name> ->


Thursday, May 8, 2014

How to enable SiteStudio component in UCM


This blog explains about enabling 'SiteStudio' in UCM

Login to 'UCM Admin Console' , and follow below highlighted steps as shown below, You must restart the UCM server after making any changes in order to effective those changes.

http://localhost16200/cs/login/login.htm


Unable to connect to UCM Server though status shows RUNNIN


If you have installed first time UCM on your machine,  started UCM server from Weblogic console and trying to connect to UCM from JDeveloper. If Test connection fails ensure to start UCM server using statManagedWeblogic.sh <UCM_ServerName> , This will start UCM server and able to connect using Jdeveloper.

Wednesday, May 7, 2014

How to Build Webcenter template ?



A template in WebCenter (or an ADF application) is nothing more than a JSPX page with additional tags to define some regions. This means that you can use all the existing ADF or WebCenter components in your template.

Before we begin we must create the template JSPX file. In WebCenter, all templates should be added to the pagetemplates folder. If you don't do this, your template can not be used during runtime.

- Create the JSF Page template as shown below


Every template contains facets. A facet can be seen as a region in a template. It defines a section of the template that can be uses by other pages. You will create facets for each region that can be modified by the pages using this template. In our case, we don't allow the other pages to modify the header, footer and so on. We only allow them a section to insert their own content.

In WebCenter, a template should always have a facet called content. This facet will be used by the composer to make the page editable during runtime. Without the content facet, the composer can't do anything on the page so must add it.


- Modify the newly created template as per your requirement, After updating required changes to the template, then right click on template and choose 'Create Portal Resource' option as shown below. This will make available for the portal, so that we can use this template at runtime.


- By default, this newly created template will be in 'Hidden' status, you have to make it 'Available'. this can be done by
- Select the template, choose 'Edit' button then choose 'Show' button

- To make the newly created template as default template, then select 'Configurations' tab, choose the template that you want to make it as default as shown below.
- You don't need to worry about 'Saving' these changes, by default all your changes will be automatically saved.
- If you get any NPE(Null Pointer Exception), ensure you have to generate the page definition file for newly created template.

- If you want to make the newly created template should be default template for your entire application, that means whenever you create new page that will extends to this template, you have to open 'adf-config.xml' and modify the below highlighted entry to the template whatever you want.

- If you want to modify already created pages, then open the page and modify the 'pageTemplate' attribute.


How to Create a page in Webcenter using Admin Console


This blog outlines very basic feature of webcenter portal application, that is how to create a page at runtime using Administration console

- Launch your local Webcenter admin console , Create a sample Webcenter Portal Framework application, Right click on 'Portal' project and run
- Below is the localhost URL you will see
   http://localhost:7101/HelloWorldPortalApp-Portal-context-root/index.html

- Enter default login credentials i.e weblogic/weblogic1
- After successful login, click on 'Administration Console' tab on the top right hand side of the page
- Click on 'Create Page' link as shown below
- Enter the page name
- Choose the available page template if needed.
- Choose the page style and click on 'Create' button, Below is how newly created page(HelloWorld) will be displayed
- To add the content to the newly created page, Select the down arrow in 'Actions' column and choose 'Edit Page' option
- Click on 'Add Content' link to add your own content
- This is how newly created page look like
- This newly created page will not be stored in Jdeveloper application, instead this will be stored in MDS(Meta Data Service), All webcenter run time customization will be stored in MDS

- To enable MDS for an application, Follow below step
- Right click on application, Choose Application Properties, Expand 'Run' and choose MDS. Select 'Preserve customizations across application runs'
- Try now by creating new page at runtime, stop the server and start it you will see the newly created page always.

Friday, March 28, 2014

How to Add a new Portal in Webcenter Portal ?


This blog explains about adding a new Portal in Webcenter

- Login to Webcenter Portal, Click on 'Portals' and choose 'Create a Portal' link as shown below

- Choose the type of the Portal that you want to create.

- You can choose various options while creating portal, If you want you can add various pages while creating portal itself.



How to Display images in a carousel view using Content Presenter on a page

This blog explains about how to Display Images in a carousel view using Content Presenter

- Login to Webcenter portal, Choose the portal which you want to update, Or You can create brand new portal

- As shown below, click on 'Settings' Icon , choose Create-> Page

- Select the type of the page you want, In this example, I have chosen 'Blank' page

- Give proper information for the page

- This is how design view of the page looks like, Choose ' Content Management' and click on 'Open' link as shown below

- Click on 'Add' link associated to 'Content Presenter' as shown below

- To customize the page, click on below highlighted yellow color icon as shown below.

- If you want to upload multiple items, choose 'List of Items' under 'Content' tab, Then click on 'Browse' button

- Browse for the items, I chosen 'Enterprise Libraries' in this example

- Select as many as images you want , If you want to select more than on item, Hold 'Ctrl' key and select whatever you want

- Select the template type as 'Carousel View'

- Once all the the changes are done , click on 'Save' button and 'View Portal' link as shown below.


- This is how Carousel view looks like