Sunday, October 12, 2014

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.

No comments:

Post a Comment