Professional Documents
Culture Documents
D69235GC10
Edition 1.0
May 2012
D77125
Author
Saskia Nehls
Disclaimer
Technical Contributors
and Reviewers
Marsha Hancock
Kyle Hatlestad
Samuel Hoareau
Heike Hundt
Lee Klement
Jeff Marshall
Kent Rupiper
Glenn Stokol
Graphic Designer
Rajiv Chandrabhanu
Editors
Vijayalakshmi Narasimhan
Rashmi Rajagopal
Richard Wallis
Publisher
Giri Venugopal
Contents
Course Overview
Course Objectives 1-2
Types of Users 1-4
Target Audience 1-5
Course Units 1-6
Course Schedule 1-7
Classroom Guidelines 1-10
Course Practices 1-11
For Further Information 1-12
Finding the Documentation for Oracle WebCenter Content 1-13
Oracle Learning Library (OLL) 1-14
Related Training 1-15
Customization Overview
Objectives 2-2
Terminology: Before and After Rebranding 2-3
Rebranding Impact 2-4
Oracle WebCenter 2-5
Customization Types 2-6
User Interface 2-7
Functionality 2-8
Functionality: Quota Example 2-9
Layout: Top Menus Versus Trays 2-10
Summary 2-11
Practice 2: Overview 2-12
Customization Overview
Objectives 3-2
Oracle WebCenter Content Architecture 3-3
Fusion Architecture and the Oracle WebCenter Content Server 3-5
Content Server Behavior 3-6
Oracle WebCenter Content Server Startup 3-7
Caching by Reference and by Definition 3-8
WebCenter Content and Service-Oriented Architecture 3-9
Parameters in the URL 3-10
iii
iv
Building a Component
Objectives 6-2
Glue File 6-3
Understanding the Glue File: ComponentName.hda 6-4
Understanding the Glue File: @ResultSet ResourceDefinition 6-5
Resource Type: Environment 6-6
Environment Resource: componentname_environment.cfg 6-7
Environment Resource: forcechoice_environment.cfg 6-9
Summary 6-13
Practice 6: Overview 6-14
Building a Component
Objectives 7-2
Resource Type: Resource Overview 7-3
Resource Type: Resource 7-4
Resource Types: Categories 7-5
Resource Type Resource: HTML Includes 7-6
Modifying an HTML Include: Adding Information to the Footer 7-7
Resource Type Resource: Localization Strings 7-11
Localization Strings 7-12
Localization Strings: Defining a String 7-14
Localization Strings: Workflow Applet 7-15
Quiz 7-16
Localization Strings 7-17
Localization Strings Example: Workflow Applet 7-18
vi
Summary 7-21
Practice 7 Overview
7-22
Building a Component
Objectives 8-2
Resource Type: Query 8-3
Query Resource 8-4
Query Resource: Query Definition Table 8-5
QdocInfo Query 8-7
Database Tables: Creating a Database Connection 8-8
Use Case: Retrieving Content Types 8-11
Quiz 8-15
Summary 8-16
Practice 8: Overview 8-17
Building a Component
Objectives 9-2
Resource Type: Service 9-3
Service Resource 9-4
Requests and Responses Between Content Management System Elements 9-5
Service Resource: Service Definition Table 9-6
Investigating an Existing Service: CHECKIN_LIST 9-7
Service Example: CHECKIN_LIST Name 9-8
Service Example: CHECKIN_LIST Attributes 9-9
Service Example: CHECKIN_LIST Attributes (Access Levels) 9-10
Service Example: CHECKIN_LIST Attributes 9-12
Service Example: CHECKIN_LIST Actions 9-14
Service Example: CHECKIN_LIST Actions (Action Types) 9-15
Service Example: CHECKIN_LIST Actions (Action) 9-17
Service Example: CHECKIN_LIST Actions (Parameters) 9-18
Service Example: CHECKIN_LIST Actions (Control Mask) 9-19
Service Example: CHECKIN_LIST Actions (Error Message) 9-21
Use Case: Retrieving Content Types 9-22
Quiz 9-25
Use Case: Retrieving Content Types 9-26
Use Case: Retrieving Content Types (Test I) 9-28
Use Case: Retrieving Content Types (Test II) 9-29
Use Case: Retrieving Content Types (Test III) 9-30
Summary 9-31
Practice 9: Overview 9-32
vii
10 Building a Component
Objectives 10-2
Resource Type: Templates 10-3
Resource Type: Templates componentname_templates.hda 10-4
Resource Type: Templates new_template_page1.htm 10-5
Template Resource Definition File: templates.hda 10-6
Understanding the Template Resource File: @ResultSet IntradocTemplates 10-7
Investigating the Displayed Template Page 10-8
Template Page File Example: Check In Page 10-12
Example: Check In Page <$include std_doctype_html_decl$> <$include
checkin_body_def$> 10-13
Example: Check In Page <$include std_checkin_html_head_declarations$> 10-14
Example: Check In Page <$include checkin_page_content$> 10-15
Use Case: Displaying Content Types 10-16
Use Case: Displaying Content Types: Edit Query 10-17
Use Case: Retrieving Content Types: Add Template 10-18
Use Case: Displaying Content Types: Edit Template 10-22
Use Case: Displaying Content Types: Edit Service 10-24
Use Case: Displaying Content Types: Idoc Script Code 10-25
MergeRules 10-27
MergeRules: Link to Component Wizard 10-30
Quiz 10-31
Summary 10-32
Practice 10 Overview 10-33
11 Building a Component
Objectives 11-2
Overview 11-3
Use Case: Modifying the Actions Menu 11-4
Determining the Resources to Change 11-6
Determining the Code to Modify 11-10
Solutions to the Use Case 11-15
Determining the Resources to Change 11-16
Determining the Code to Modify 11-20
Summary 11-25
Practice 11 Overview 11-26
12 Customizing the Interface
Objectives 12-2
Navigation Concepts: Differences Between 10g and 11g Menus 12-3
viii
ix
xi
Presentation Section: Setting the Attributes for Each Form Field 17-14
Sample Form: std_display_field Include 17-16
A Sample Form: Standard HTML Form Fields 17-17
A Sample Form: HTML Radio Buttons 17-18
A Sample Form: HTML Check Boxes 17-19
A Sample Form: Form Variables 17-20
Recommendations 17-21
Security Token: idc_token_form_field 17-22
Summary 17-23
Practice 17: Overview 17-24
18 Advanced Customization of the Core Oracle WebCenter Content Server
Objectives 18-2
Java Topics Covered in This Course 18-3
Why Do I Need Java Code? 18-4
Four Types of Java Customization 18-5
Your First Java Application: HelloWorld 18-7
Java Source Files 18-8
Compiling and Running a Simple Java Program 18-9
Grouping and Deploying the Class Files 18-10
Starting Oracle JDeveloper 18-11
Overview of Workspaces, Projects, and Files 18-12
Creating an Application 18-13
Creating a Project 18-14
Creating a Java Class 18-15
Implementing and Running the Java Class 18-16
Creating Inheritance: The Superclass 18-17
Creating Inheritance: The Subclass 18-18
Overriding Methods 18-19
Testing Inheritance Behavior 18-20
Summary 18-21
Practice 18 Overview: Creating a Java Application and a Class Hierarchy 18-22
19 Advanced Customization of the Core Oracle WebCenter Content Server
Objectives 19-2
HowTo Component 11g 19-3
Add New Functionality by Creating A Custom Service Class 19-4
Creating a Custom Java Component For a New Service Class 19-5
Key Service Class Objects 19-6
Working with the DataBinder 19-7
Retrieving Service Parameters 19-8
xii
xiii
21-11
xiv
xv