Oracle WebCenter Sites 11g for Developers

Similar documents
Oracle WebCenter Content 11g: Content Server Customization Student Guide - Volume I

Oracle Hyperion Data Relationship Management Administration Activity Guide

Oracle VM Server for x86: Administration

MySQL Performance Tuning

UNIX and Linux Essentials Student Guide

Oracle Application Express: Administration Student Guide

Oracle BI Publisher 11g R1: Fundamentals

Oracle Service Bus 10g R3: Design & Integrate Services for SOA

Oracle Content Server 11g: Administration

Oracle Data Integrator 11g: Integration and Administration Student Guide - Volume I

Oracle Application Testing Suite: Introduction Student Guide

Oracle WebLogic Server 11g: Overview for WLS Administrators

Oracle Exalogic Elastic Cloud 2.x: System Administration

Oracle VM Administration: Oracle VM Server for x86 Student Guide

Siebel 8.1.x Fundamentals Student Guide

Oracle BPM 10g R3 Programming 1 Essentials

Oracle Database 10g: Using OLAP

Using Java - for PL/SQL and Database Developers Student Guide

Oracle Adaptive Access Manager: Administration Student Guide

Oracle Data Integrator: Administration and Development Volume I Student Guide

Oracle BI 11g R1: Build Repositories

Oracle Data Modeling and Relational Database Design Volume I Student Guide

Oracle WebLogic Server 12c: Administration I

Oracle Data Integrator 11g: Advanced Integration and Development Student Guide

Oracle 11g: XML Fundamentals

Oracle GoldenGate 11g: Advanced Configuration for Oracle Student Guide

Oracle Service Bus 10g R3: System Administration

Oracle WebLogic Server 12c: JMS Administration Student Guide

OracleAS 10g R3: Java Programming

Oracle Database 11g: Oracle Secure Backup

Oracle BI Publisher 10g R3: Fundamentals

Oracle Database 10g: Data Guard Administration

Oracle Communication and Mobility Server: Introduction Student Guide

Oracle Spatial: Advanced Student Guide

Oracle Warehouse Builder 10g: New Features

R12.x Oracle Order Management Fundamentals Student Guide

Oracle Application Server 10g R3: Administration

E Oracle 10g Java Bootcamp II v1

Oracle Database 12c: Install and Upgrade Workshop

Fundamentals of the Java Programming Language

MySQL Performance Tuning

Oracle GoldenGate 11g Fundamentals for Oracle

Oracle Database 10g: Implementing Database Vault

MySQL Cluster Student Guide

Oracle GoldenGate 11g: Fundamentals for SQL Server Student Guide

Oracle Forms Developer 10g: Move to the Web

Oracle TimesTen 6.0: Core Concepts and Administration Volume I - Student Guide

Oracle Identity Manager 11g: Essentials

Oracle Database 11g: SQL Fundamentals I

Oracle Database 11g: Use XML DB

Oracle Database 11g: Backup and Recovery Workshop

Java Programming Language

Oracle 10g: Java Programming

OracleAS 10g R3: Build J2EE Applications II

E Oracle 10g Java Bootcamp I v1

Oracle Database 10g: SQL Fundamentals I

Business Component Development with EJB Technology, Java EE 5

Oracle Database 10g: New Features for Release 2 Overview Seminar

Oracle Application Server 10g R2: Administration II

Java EE Patterns. Student Guide - Volume 1. SL-500 Rev C.0.1. D61856GC10 Edition 1.0 D62465

Oracle Warehouse Builder 10g: Implementation Part 2

Oracle Database 11g: SQL Tuning Workshop. Student Guide

Oracle SQL Tuning for Developers Workshop Student Guide - Volume I

MySQL and PHP - Developing Dynamic Web Applications

Java Performance Tuning and Optimization Student Guide

Sun Virtualization: Solaris 10 Containers Administration

Oracle TimesTen 6.0: Core Concepts and Administration Volume I Student Guide

Oracle Database 11g: Data Guard Administration

Shell Programming for System Administrators Student Guide

Sun Java System Application Server 8.1: Administration & Deployment

R12.x Oracle Subledger Accounting Fundamentals Student Guide

Oracle Database 10g: Implement and Administer a Data Warehouse

Oracle Warehouse Builder 10g: Administration

Object-Oriented Analysis and Design Using UML

Analytics: Server Architect (Siebel 7.7)

Oracle Spatial 10g: Advanced

Oracle Database 10g: PL/SQL Fundamentals

Oracle Fusion Middleware

Oracle WebLogic Server 11g: Diagnostics and Troubleshooting

Oracle Customer Care. Implementation Guide. Release 11i. August, 2000 Part No. A

Oracle Database 10g: PL/SQL Fundamentals

Oracle Enterprise Manager Ops Center. Introduction. What You Will Need. Installing and Updating Local Software Packages 12c Release

Oracle Fusion Middleware

Sun Certified System Administrator for the Solaris 10 OS Bootcamp

End User s Guide Release 5.0

Oracle WebCenter Portal 11g Developer Workshop

Oracle WebCenter Portal. Starting Points for Oracle WebCenter Portal Installation

Oracle Utilities Customer Self Service Release Whitepaper: Consuming OUCSS Taskflows in Custom Portals E October 2011

Oracle TimesTen 7.0: IMDB, Cache Connect, and Replication Volume I Student Guide

Copyright 1998, 2009, Oracle and/or its affiliates. All rights reserved.

Oracle Database 11g: RAC Administration

Frequently Asked Questions Oracle Content Management Integration. An Oracle White Paper June 2007

Configuring Oracle Java CAPS Master Index (Repository) Connectivity and Environments

Oracle Enterprise Manager Ops Center. Introduction. What You Will Need. Creating vservers 12c Release 1 ( )

Oracle WebCenter Sites. Web Experience Management Framework REST API Resource Reference 11g Release 1 (11.1.1)

Oracle WebCenter Portal

Oracle Fusion Middleware

Oracle Fusion Middleware

Administration Guide Release 5.0

Oracle Database 12c: SQL Tuning for Developers

Transcription:

Oracle WebCenter Sites 11g for Developers Student Guide D78300GC10 Edition 1.0 August 2012 D78723

Author Jenny Wongtangswad Technical Contributors and Reviewers Deirdre Duffy Heike Hundt Lee Klement Michael Sullivan Patrice Palau Editors Malavika Jinka Vijayalakshmi Narasimhan Graphic Designer Rajiv Chandrabhanu Publishers Sumesh Koshy Jobi Varghese Copyright 2012, Oracle and/or its affiliates. All rights reserved. Disclaimer This document contains proprietary information and is protected by copyright and other intellectual property laws. You may copy and print this document solely for your own use in an Oracle training course. The document may not be modified or altered in any way. Except where your use constitutes "fair use" under copyright law, you may not use, share, download, upload, copy, print, display, perform, reproduce, publish, license, post, transmit, or distribute this document in whole or in part without the express authorization of Oracle. The information contained in this document is subject to change without notice. If you find any problems in the document, please report them in writing to: Oracle University, 500 Oracle Parkway, Redwood Shores, California 94065 USA. This document is not warranted to be error-free. Restricted Rights Notice If this documentation is delivered to the United States Government or anyone using the documentation on behalf of the United States Government, the following notice is applicable: U.S. GOVERNMENT RIGHTS The U.S. Government s rights to use, modify, reproduce, release, perform, display, or disclose these training materials are restricted by the terms of the applicable Oracle license agreement and/or the applicable U.S. Government contract. Trademark Notice Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.

Contents 1 Course Introduction Course Goals 1-2 Course Information 1-3 Classroom Setup 1-4 Course Overview Part I: Interface Development 1-5 Course Overview Part II: Template Development 1-6 Course Objectives 1-7 Documentation Guides 1-8 2 Introduction to Oracle WebCenter Sites 11g Objectives 2-2 WebCenter Sites from a Site Visitor s Perspective 2-3 Oracle WebCenter Sites 11g: n-tiered Architecture 2-4 Oracle WebCenter Sites 11g: Product Architecture 2-5 Oracle WebCenter Sites 11g: Systems Architecture 2-6 Oracle WebCenter Sites 11g: Core Architecture 2-7 Content Management Systems 2-8 Users of a Content Management System 2-9 What Is WEM? 2-10 WebCenter Sites Terminology 2-11 Introduction to Part I: Interface Development 2-12 Quiz 2-13 Summary 2-16 3 Oracle WebCenter Sites 11g: User Interfaces Objectives 3-2 Oracle WebCenter Sites User Interfaces 3-3 Administration and Authorization: WEM Admin Interface 3-4 Administration and Design: Admin Interface 3-5 Content Management: Contributor Interface 3-6 Contributor Interface: Home View 3-7 Application Bar 3-8 Instructor Demonstration 3-9 Quiz 3-10 Summary: User Interfaces 3-14 iii

4 Course Implementation Objectives 4-2 Scenario 4-3 Types of Webpages 4-4 Site Navigation 4-5 Types of Content 4-7 Types of Users 4-9 Class Discussion: Translating Requirements into Design 4-10 Summary 4-12 5 Creating and Configuring a New CM Site Objectives 5-2 CM Sites and Websites 5-3 Content Management Sites 5-4 What Makes Up a CM Site? 5-5 User Authentication and Authorization 5-6 WebCenter Sites Roles 5-7 Authorize 5-8 Class Discussion 5-9 Practice 5-1 Overview: Creating a CM Site in WebCenter Sites 11g 5-10 Practice 5-2 Overview: Creating Users in the WEM Admin Interface 5-11 Practice 5-3 Overview: Creating and Assigning Roles 5-12 Quiz 5-13 Summary 5-15 6 Building the Content Model Objectives 6-2 What Is an Asset? 6-3 Terminology: Assets and Asset Types 6-4 Terminology: Asset Types 6-5 Terminology: Asset Definition 6-6 Terminology: Parent Assets 6-7 Terminology: Parent Definition 6-8 Asset Family Model 6-9 AviSports Store: The Product Asset Family 6-10 AviSports Store: The Product Asset 6-11 Practice 6-1 Overview: Working with Asset Families 6-12 Practice 6-2 Overview: Creating Product Assets 6-13 Practice 6-3 Overview: Sharing Assets Between Sites 6-14 Page Assets: Page Attributes and Page Definitions 6-15 iv

Page Assets: Managing Website Navigation with the Site Tree 6-16 Practice 6-4 Overview: Creating Page Assets 6-17 Types of Asset Relationships 6-18 Practice 6-5 Overview: Creating Asset Associations 6-20 Practice 6-6 Overview: Creating a Named Association 6-21 WebCenter Sites Core Asset Types 6-22 Content Containers 6-24 Practice 6-7 Overview: Creating a Recommendation Asset 6-26 Quiz 6-27 Summary 6-30 7 Administrating and Enhancing the Usability of Your Content Management Site Objectives 7-2 Site Administration and Enhancing Interface Usability 7-3 Tree Tabs 7-4 Practice 7-1 Overview: Working with Tree Tabs 7-6 Start Menu Items 7-7 Practice 7-2 Overview: Configuring Start Menu Items Based on Roles 7-9 Attribute Editors 7-10 Practice 7-3 Overview: Working with Attribute Editors 7-12 Class Discussion 7-13 Quiz 7-14 Summary 7-16 8 Configuring Dynamic Publishing Objectives 8-2 Overview 8-3 Publishing Methods 8-4 RealTime Publishing: Architecture 8-5 WebCenter Sites Publishing 8-6 Approval Process 8-7 Types of Asset Dependencies 8-8 Asset Dependencies: Example Scenario 8-9 Configuring Asset Dependencies 8-10 Asset Dependencies: Approving Assets for Publish 8-12 RealTime Publishing: Creating a New Destination 8-13 RealTime Publishing: Configuring Scheduled Publishes 8-14 RealTime Publishing: Approving Assets for Publish 8-15 RealTime Publishing: The Approved Assets Queue 8-16 RealTime Publishing: Monitoring the Publish Session 8-17 RealTime Publishing: Checklist for Setting Up a New CM Site 8-18 v

Practice 8-1 Overview: Configuring a Dynamic Publish Destination 8-19 Practice 8-2 Overview: Configuring the Site for the Destination Server 8-20 Practice 8-3 Overview: Approving and Publishing Content 8-21 Site Capture 8-22 Site Capture: Capture Modes 8-23 Quiz 8-24 Summary 8-29 9 Advanced Topics: Asset Data Modeling Objectives 9-2 Asset Model Design 9-3 Asset Data Modeling 9-4 Review: Asset Family Versus Asset Type 9-5 Basic Asset Model 9-6 Basic Asset Model: Asset Descriptor File (ADF) 9-7 Steps for Creating a New Basic Asset Type 9-10 Practice 9-1 Overview: Creating a Basic Asset 9-11 Flex Asset Model 9-12 Flex Asset Model: Steps for Creating a New Flex Asset Family 9-17 Flex Tables 9-18 Attribute Inheritance 9-20 Flex Filters 9-22 Practice 9-2 Overview: Creating a Filter Asset 9-24 Basic or Flex? 9-25 Quiz 9-26 Summary 9-31 10 Working with WebCenter Sites Tools and Utilities Objectives 10-2 WebCenter Sites Tools and Utilities 10-3 SitesExplorer 10-4 CatalogMover 10-5 Property Editor 10-6 Developer s Tag Reference and Javadocs 10-7 WebCenter Sites Developer Tools 10-8 WebCenter Sites Developer Tools: Getting Started 10-10 WSDT Terminology 10-11 WSDT: Wizards 10-12 WSDT Personal Development Environment 10-13 WSDT: Integration with VCS 10-14 Using WSDT with VCS 10-15 vi

WSDT: Capabilities 10-17 WSDT: Modules 10-18 WSDT: Limitations 10-19 Additional Resources 10-20 Practice 10-1 Overview: Importing Assets Using WSDT 10-21 Quiz 10-22 Summary 10-27 11 Programming with Oracle WebCenter Sites 11g Objectives 11-2 Terminology 11-3 Rendering Models and Patterns 11-4 Look at the Big Picture to Identify Patterns 11-5 Template Design 11-6 Course Implementation: Template Design 11-7 Site Design Asset Types 11-8 Site Design Asset Types: Templates 11-9 Site Design Asset Types: CSElement Assets 11-18 Site Design Asset Types: SiteEntry Assets 11-20 A Simple WebCenter Sites JSP 11-22 Interface to Content Server (ICS) 11-23 WebCenter Sites Variables 11-24 Passing Variables Through a URL 11-25 Practice 11-1 Overview: Creating a Simple Template 11-26 WebCenter Sites Lists 11-27 WebCenter Sites Asset API 11-30 Quiz 11-32 Summary 11-35 12 Building Templates Objectives 12-2 Overview 12-3 Course Implementation: Review 12-4 Course Implementation: Template Design Review 12-5 Principles of CMS Templating 12-6 Building Templates and Elements for Your Course Implementation 12-7 Building WebCenter Sites Templates: Rendering the Product Detail Page 12-8 Building WebCenter Sites Templates: Rendering a Product Detail Page 12-9 Rendering a Product Detail Page: Calling to Templates and CSElements 12-10 Calling to Templates and CSElements: <render:calltemplate /> 12-11 Calling to Templates and CSElements: <render:satellitepage /> 12-12 vii

Calling to Templates and CSElements: <render:callelement /> 12-13 Practice 12-1 Overview: Creating Product Layout Template 12-14 Building WebCenter Sites Templates: Rendering a Product Detail Page 12-15 Rendering a Product Detail Page: Rendering Asset Data 12-16 Rendering Asset Data: Loading the Asset with <assetset:setasset /> 12-17 Rendering Asset Data: Retrieving Asset Data 12-18 Retrieving Asset Data: <assetset:getattributevalues /> 12-19 Retrieving Asset Data: <assetset:getmultiplevalues /> 12-20 Retrieving Asset Data: Manipulating WebCenter Sites Lists 12-22 Rendering the Asset Data 12-25 Practice 12-2 Overview: The Product Detail Template 12-26 Building WebCenter Sites Templates: Rendering a Product in Summary Format 12-27 Reading Attributes Using the Asset API 12-28 Practice 12-3 Overview: The Product Summary Template 12-29 Building Links 12-30 Practice 12-4 Overview: The Link Element 12-31 Building WebCenter Sites Templates: Rendering a Landing Page 12-32 Practice 12-5 Overview: The Page Layout Template 12-34 Building WebCenter Sites Templates: Rendering a Landing Page 12-35 Rendering the Home Page: The Page Detail Template 12-36 The Page Detail Template: Rendering the Banner Image 12-37 The Page Detail Template: Rendering an Associated Article 12-39 Rendering an Associated Article: <asset:children /> 12-40 Practice 12-6 Overview: The Page Detail Template 12-41 Practice 12-7 Overview: Rendering a Simple Article in Detail 12-42 Building WebCenter Sites Templates: Rendering a Landing Page 12-43 Rendering the Home Page: The Navigation Bar 12-44 Code Sample: Site Plan Tags 12-46 Practice 12-8 Overview: Building the Navigation Bar 12-47 Wrapper Elements 12-48 Search Examples 12-50 Conducting Searches: Searchstates 12-51 Rendering the Product Side Navigation 12-52 Conducting Searches: Searchstate Tags 12-53 Practice 12-9 Overview: Creating a Dynamic Search with Searchstates 12-54 Quiz 12-55 Summary 12-58 viii

13 Coding Templates for Web Mode Objectives 13-2 Overview 13-3 Requirements for In-Context Editing 13-4 Coding for In-Context Editing 13-5 Coding for In-Context Editing: String Values 13-6 Coding for In-Context Editing: Text Values 13-7 Coding for In-Context Editing: Date Fields 13-8 Practice 13.1 Overview: Coding for Editing in Web Mode 13-9 Presentation Editing in Web Mode 13-10 Presentation Editing in Web Mode: Template Selection 13-11 Presentation Editing in Web Mode: Webpage Layouts 13-12 Presentation Editing in Web Mode: Webpage Fragments 13-13 Instructor Demonstration: Changing Layouts in Web Mode 13-14 Pagelet Options 13-15 Coding for Presentation Editing: Changing Layouts for Pagelets 13-16 Combining Content and Presentation Editing 13-17 Context System Variable 13-18 Practice 13-2 Overview: Coding for Presentation Editing 13-19 Creating Content in Web Mode 13-20 Start Menu Items: New Insite 13-21 Practice 13-3 Overview: Creating Content in Web Mode 13-22 Quiz 13-23 Summary 13-26 14 Caching Objectives 14-2 Overview 14-3 WebCenter Sites 11g Resultset Caching 14-4 Page Caching: Architectural Overview 14-6 Page Caching: Under the Hood 14-9 Page Caching: Satellite Server 14-15 Page Caching: Remote Satellite Server 14-16 Cache Criteria 14-17 Compositional Dependencies 14-18 Embedded Pagelets 14-21 incache: Overview 14-26 incache: How it Works 14-27 incache: Asset Caching 14-28 Quiz 14-29 Summary 14-34 ix