Wednesday, October 22, 2014

How to crate Page Attribute and Page Definition

This blog explains about how to create Page Attribute and Page Definition

- Enable 'Page Attribute' and 'Page Definition' Asset types as per below blog
http://fortunewebcentersites.blogspot.com/2014/10/how-to-enable-asset-types-in-webcenter.html

- Choose 'Admin' role

- Click on 'New' Menu, and you will see all the enabled asset types on start menu, Select 'New Page Attribute' command link, and follow the steps and enter required information

- Repeat the above step, choose ' New Page Definition'

Wednesday, October 1, 2014

How to create Flex asset types in Webcenter Sites ?


What is Flex Asset Model ?

The flex asset model is more complex than the basic asset model. Unlike basic assets, where the information for one instance of an asset is stored in one row of a database table, the information for one instance of a flex asset is stored in multiple database tables.

Whereas basic asset types are standalone asset types, flex asset types are composed of families of asset types. The members of a flex family are:

flex attribute type (required)
flex asset type (required)
flex definition (required)
flex parent (required)
flex parent definition (required)
flex filter type (optional)
The members of a flex family form an asset inheritance tree, where child assets inherit various attributes from their parents.

- For instance, Assume we are building a website with 'Header', 'Footer', 'Banner' , 'Left Navigation Menu', and 'Body' components in a website.

- Let us create a Flex Definition for 'Header' which contains two attributes, One is 'Company Name' which is type of 'String' and another one is 'Call us(Phone Number' is of type String.

- Login to Webcenter Sites as a Admin role
- Click on 'Admin' tab , Click on 'Add New Flex Family' link as shown below



- Give the meaningful names to each flex family member as shown below.
- Give meaningful values for Description and Plural form values as shown below



- You should see successful confirmation message as shown below.



- Connect to webcenter sites database, and verify six brand new database tables should be created for each above created flex family.

- Enable the newly created flex family asset types. Follow below link how to enable asset types

http://fortunewebcentersites.blogspot.com/2014/10/how-to-enable-asset-types-in-webcenter.html









For More Information : http://docs.oracle.com/cd/E29542_01/doc.1111/e29605/user_flexassets.htm#i63198

How to connect to Webcenter Sites Database using Jump Start Kit


This blog explains about how to connect to Webcenter sites database using Jump Start Kit

- Go to below directory where your website Jump Start Kit (JSK) is installed , click on 'Content Server' icon as shown below

- Enter host name, Login credentials ( fwadmin/xceladmin - Default login credentials)  and hit enter.


How to enable Disable Asset Types in Webcenter Sites?


This blog explains about how to enable asset types in Webcenter sites.

What is Asset and Asset Type in Webcenter Sites ?

An asset is an object that is stored in the WebCenter Sites database, an object that can be created, edited, inspected, deleted, duplicated, placed into workflow, tracked through revision tracking, searched for, and published to your delivery (live) site.
An asset type is a definition or specification that determines the characteristics of asset objects of that type.
Developers design and create asset types while designing your content management system and your online sites. Content providers then create and edit assets of those types
In general, assets perform one of the following three roles:
  • Provide content that visitors read and examine on your online sites
  • Provide the formatting logic or code for displaying the content
  • Provide data structure for storing the content in the WebCenter Sites database

- Login to Webcenter sites as a Admin role, Click on 'Show Left Hand Navigation' Arrow on top menu, You will see a tab called 'Admin' and click on 'List All Sites' as shown below.


- Select the site for which you want to enable specific asset type
- Select 'Enable Asset Type' button as shown below
- Select 'Disable Asset Type' button if you want to disable any specific asset type


- Select option 'Available Start Menus' option as shown below


This will enable the asset types in start menu.


Monday, September 29, 2014

How to configure Eclipse Plug in with Webcenter sites

This blog explains about how to configure Ecilipse IDE (Integrated Development Environment) with Webcenter Sites. So that we can easily edit .jsp files using Eclipse.

- Download Ecilipse Indigo Software
                   http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/indigo/SR2/eclipse-jee-indigo-SR2-win32-x86_64.zip


- Download Webcenter Ecilipse plugin from below
              https://drive.google.com/file/d/0B2d4nezoFBCONXRQTTd1eTBYcUk/view?usp=sharing

- Extract the downloaded Ecilipse ZIP file and copy the extracted two files to below Eclipse software downloaded directory

       C:\RKP\SW\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\plugins

- Launch the Eclipse, Double click on 'eclipse' icon as shown below
- Change the prospective, Click on 'Other' as shown below

- Click on 'Oracle Webcenter Sites' prospective as shown below



- Enter the  'Webcenter Sites CS' URL for instance and rest of other values as shown below.
 Ensure 'Webcenter Sites' connection as highlighted in yellow color as shown below.

- After successful above step, you will see Eclipse as shown below, Click on 'Synchronize Data' as circled below.. This will open a window with all the asset model in Webcenter Sites, select the one which you want to edit and click on Ok.

- Whatever changes you made in Eclipse automatically synchronize with Webceter sites.
Note : Eclipse plug in is useful to edit .jsp files rather than editing other asset model.