Tag: Oracle WebCenter

  • Expanding the Expired Search Functionality in the WebCenter Content (WCC) Native UI

    Expanding the Expired Search Functionality in the WebCenter Content (WCC) Native UI

    Expanding the Expired Search Functionality in the WebCenter Content Server Native UI

    By: Brandon Prasnicki | Technical Architect

    In the past customers have complained about the limited search feature related to expired content.  Normal users, and especially power users, may have a need to retrieve an expired content item but cannot easily recover or locate it.  This may discourage users from using the expiration feature in WCC. As you may know, when expiring an item, the content is kept in the system. However, in the case of Oracle Text Search Engine, pull the item from the collection to reduce the search collection size.  This can help with collection builds (including fast rebuilds) and search speeds.

    While many of the WCC user base is transitioning to the new sleeker content UI, it is not uncommon for power users to continue using the native UI for more complex functions.  An example of a complex function is locating expired content.  In order to do a search for expired items, a user will navigate to Content Management -> Expired Content.  In the screen shot below, the user is presented with two date fields to filter the recently expired items.  If there are many expired items, or the time frame of the expiration is not known this is not very helpful.

    Oracle WebCenter expired content platform view.

    How can this process be simplified for the user? A simple customization is in order!

    Introducing the TSExpiredSearch component: This component adds a button in line with the other buttons that users normally use.  This button switches the repository and goes after expired content items instead of the OTS search repository (or other active content item repository).  You can use the standard search, profile search and even query builder pages and leverage the expired search functionality as this new ‘Expired Search’ button is added to a common resource where the out of the box buttons are seen.  With the button in place, the normal metadata fields can be leveraged and all the existing rules and profile logic is in place to help the user locate the expired content.

    Oracle platform view of how to conduct a search for expired content.

    Close up view of search functions in WebCenter content.

    The expired search feature leverages the Repository parameter and sets it to ‘ExpiredContent’.  The generated query uses the search engine: ‘DATABASE.METADATA.ALLDOCS.ORACLE’. Therefore, the user must use ‘Matches’ and not run Full-Text Searches.  This validation is included in the component, as shown below:

    Dialog box saying: Search for expired content cannot be performed using Full-Text search for using the 'Contains' query operator.

    This component has been tested on 11.1.1.8.0, 11.1.1.9.0, and 12.2.1.0.0.  It even fixes a breadcrumb bug in 11.1.1.9.0.  If you would like to use it we’d love to give it to you!  Please fill out the contact form below and we will send it right away.

    Once you receive your component, you will need to install and enable it using the admin server –> component manager -> advanced component manager options.  Hopefully this will improve user search experience and even encourage users to clean up the active collection.

    Fill out the following form to download the TSExpiredSearch component:
  • How to Keep Your Profile Value with the New Patch Set for Oracle WebCenter Content 11.8 (MLR15)

    How to Keep Your Profile Value with the New Patch Set for Oracle WebCenter Content 11.8 (MLR15)

    TekTalk: Weekly insights and tech tips from industry experts at TekStream Solutions.

    How to Keep Your Profile Value with the New Patch
    Set for Oracle WebCenter Content 11.8 (MLR15)

    By: Angela Lindsey | WebCenter Content Senior Developer

    Dependent on Profiles?

    Does your WebCenter Content system use profiles?  Do you ever have to update metadata from the Full Update Form? Do you expect that the profile value will remain as it was prior to clicking the Full Update Form button?  I would expect that basic behavior but the latest patch set for WCC 11.8 (aka MLR15) decided to make a slight change on the Full Update Form which clears this value!  Yes I did say, clears this value. Oh and not only clears the value but also removes the Default Update Form button.

    At one time when you clicked on Full Update Form to show all the metadata, not only was the value of Profile still there but there was a Default Update Form button to return to the profiled update screen.  With the latest patch set applied, when you are making a metadata update on the Full Update Form screen and don’t notice this value is now blank, a quick click on Submit Update will display the awful, un-profiled content information screen.  That is when the call comes into the help desk with a typical “my screen is all messed up” panic.

    TekSteam has a fix and can quickly remedy your issue.

  • Your One-Stop Shop For All of the New Features in Oracle WebCenter Sites 12c

    Your One-Stop Shop For All of the New Features in Oracle WebCenter Sites 12c

    Your One-Stop Shop For All of the New
    Features in Oracle WebCenter Sites 12c

    By:  Stuart Arnett and Darek Blankenbuhler

    Overview

    WebCenter Sites 12c has just shipped with plenty of new features making it worth the wait.  Long awaited changes like A/B Testing and an MVC framework have been included in this release.  Oracle has also included a new analytics engine replacing the previous implementation adding improved features and reporting.  Visitor Services have been extended adding support for additional external sources, implementing customer sources, and the ability to merge data from multiple sources to build user profiles.  This update has provided numerous new features to make the new WebCenter Sites experience easier than ever.

    A/B Testing

    Looking to get A/B Marketing Test Data out of WebCenter Sites in the past has generally resulted in homegrown or custom solutions which need constant updates as FatWire/WebCenter Sites has grown.  In the 12.2.1 release, Sites now includes an in-context A/B Testing extension which allows marketers to both author tests directly within the application as well as apply full controls to those tests – including starting and stopping the tests, and standards for qualification of success.

    Analytics

    Insights

    Insights is a new analytics tool that integrates with Endeca Information Discovery (EID) Studio to provide near real-time analytics about your pages and specific assets.  This new system replaces the original analytics system which was custom made for the product.

    Using Insights allows developers to more easily set up and customize reports about each website.  The system comes with several options for configuring and organizing the data.  Analytics data can then be queried later and viewed in real time in the Contributor Interface.  Insights also provides the capability of integrating with existing analytics providers such as Omniture or Google.

    Conversions

    Conversions are a new feature added to this version of WebCenter Sites allowing new visitor actions such as click-throughs, determining if a visitor has viewed a video for a specified length of time, or any JavaScript event within a page.  Out-of-the-box or custom conversions can be defined within pages to capture this information.  This information can then be used for content targeting or analytics tracking.  Reporting for conversions is available within the new EID interface.

    Visitor Service

    Authentication

    WebCenter Sites now ships with new easy to set up authentication methods.  The system provides a small wizard for properly configuring WebCenter Sites to read from the external source.  Administrators have the ability to set up multiple authentication sources if required.  The following data sources are available in this release:

    • Oracle Access Manager
    • Oracle Access Manager Mobile & Social
    • LDAP
    • Active Directory
    • Custom

    Profile Aggregation

    Oracle has provided tools to allow clients to better integrate with external sources to more quickly build a targeted user experience.  A user can create an aggregation template to pull and map different information from different sources.  This data can later be used by Engage.

    This predominantly works via REST calls between the visitor services and WebCenter Sites.  A user needs to set up the aggregation profile to read from the system of their choice.

    A developer creates an aggregation template using JavaScript or Velocity.  This template can pull from any provider that is currently supported by WebCenter Sites.  These templates can also collect data of anonymous users and build a view of the user for Engage or Insights to consume.

    The following are the currently supported applications for profile aggregation:

    • Oracle Access Manager
    • LDAP
    • Active Directory
    • Eloqua
    • Custom

    Content Targeting with Engage

    Engage can work with OAM, LDAP and Custom tools to read existing user profiles and map them to segments so that the system can quickly start dispensing targeted information to its users.  This is accomplished through aggregation templates.  The templates are used by the system to read through specific data provided by OAM or LDAP to learn about the user.

    This information can also be stored in managed cookies so a profile does not have to be rebuilt each time a user returns to a website.

    Mobility Image Optimization

    This is a new filter for WebCenter Sites.  It allows users to specify a target image size, the image dimensions, and a target file size for mobile devices.  Users can also create their own custom image optimization classes based off the WCS implementation.

    Development

    Framework Updates

    For years WebCenter Sites has relied on tag libraries and scriptlets to code templates to display assets.   This has made coding templates the most difficult part of using WebCenter Sites.   Implementing all of the business logic as well as the display code would have to be written into every template.  This made writing and maintaining the templates a nightmare.  However, with the release of WebCenter Sites 12c Oracle has provided two new options for displaying your assets.

    Model-View-Controller

    A brand new MVC Framework has been written to help organize and clean up all those tags and scriptlets required in prior version of the application.  Like most standard MVC frameworks all of the business logic has been moved off the template and into a back end controller implemented using Groovy.  This allows the Sites Template JSP to be used to rendering the display logic using the data provided by the controller.  This new framework has also been written to work with JSTL and EL, which reduces the learning curve for new developers

    REST Services

    WebCenter Sites 12c also comes with and updated REST API.  This API has been designed to return JSON for the assets in the system.  This will allow businesses to use client-side rendering instead of the built in server side rendering.  The REST API can gather and aggregate just as much data as the server-side API.  While there appears to be a bit of a learning curve for figuring out the new API, it does allow for building external applications just as well as the Java API.

    Data Access APIs

    Oracle has also gone the extra mile to make coding your controllers as easy as possible.  The BaseController class, which every controller extends, has a large set of tools already built into the class.  This way writing a simple controller to look up an asset does not take up a lot of time or code.   Even complicated functions like looking up the site navigation or returning the results of a search have been simplified to keep your controller code clean.  The new Java API will look up the asset data and generate links to each of the assets which can then be added to an easy to read map.  The map is easily accessible within the Template JSP, making it easy to access the data provided by the controller.  This will leave more time for developers to build the business logic for the website.

    Developer Tools Eclipse Plug-in

    Oracle has updated the Eclipse Plug-in adding two new views.  A view for templates which will list out all the templates based on how they are viewed ( desktop, mobile, etc).  There is also a view for controllers that will tap into the controller view in the Admin Interface.  Oracle has also updated the wizard buttons to be more unique and distinct, making the functionality easier to use.

    Developer Sample Site

    The developer sample sites have been updated in this release and contain examples for using both the MVC framework and the REST API.

    Admin Interface

    A few changes have been made to the Sites Admin Interface to improve the user experience and provide some new tools.

    Admin Tree Updates

    Oracle has revamped the left side Admin tree replacing the Java Applet with a web based solution to improve user usability.  This approach should eliminate the web browser security issues that were encountered in previous versions when using the Admin Interface.

    The left side navigation has also been reorganized.  The tabs have been eliminated and the following trees are now available:

    • General Admin
    • My Work
    • Content
    • Site

    Property Management Tool

    A new property management tool has been added to the Admin tree, allowing an administrator to manage the configuration properties from the web interface.  The configuration files are now stored in JSON format instead of the previous properties file format.

    Command line tools have been provided to allow the configuration properties to be imported or exported in a properties file format.  A big advantage for this tool is exporting the configuration, editing the properties file and then importing the changes back into WCS, allowing multiple configuration properties to be updated at once.

    Enterprise Manager Support

    Oracle has added support for administrating and monitoring WebCenter Sites, Insights, and Visitor Services within Enterprise Manager.  You can now perform the following from Enterprise Manager for WebCenter Sites and components.

    • Start / Stop Instances
    • View the following status information:
      • Current State
      • Version
      • Uptime
    • Configure and View Logs
    • Monitoring Performance Metrics

    NIO Based File System

    The WebCenter Sites shared files can now be stored on either a disk based file system (default) or in an Oracle Database.  Storing the shared files within a database is new for 12c.  Using a database to store the shared files will help when setting up high availability environments because all servers within the environment can access the shared files from a common database.  Backups and restorations are simplified also because the database is the only system that needs to be backed up.  Previously, the database and the disk based file system had to be backed up at the same time, which could lead to data integrity issues.

    Installation

    Oracle has added WebCenter Sites to the Universal Installer to simplify the installation process.  Using the Universal Installer automates many steps that had to be manually performed before, therefore improving the installation process and eliminating issues that could crop up with multiple manual steps.  Once installation as completed, a web-based configuration tool is now used to perform the post-installation tasks.

    Enhanced Security

    Oracle has added support for the Oracle Platform Security Services (OPSS) credential store.  The credential store provides the ability for programs to create, maintain and retrieve encryption keys from a centralized repository.  This simplifies sharing encryption keys across servers within an environment (e.g., clustered servers) or for applications that communicate with each other and need the ability to encrypt / decrypt that information for security reasons.

    Within WebCenter Sites, the encryptions keys are used for encrypting passwords and sharing of data across the network with other applications.  Using OPSS with WCS would simplify maintaining the encryption keys going forward.

    Logging

    WebCenter Sites now uses Oracle Diagnostic Logging (ODL) by default for logging within the application, replacing the previous Log4j implementation.  Moving to ODL provides a common logging format that conforms to an Oracle standard that is shared across multiple Oracle applications.  By using a common format, log files can be merged together from multiple applications to help diagnose issues within an environment.

    Within WCS (or EM), an administrator has the ability to view the ODL configuration, modify the logging levels and add additional loggers at runtime.  Any changes made at runtime will not be maintained across server restarts, but can be added to the logging configuration if they should be retained going forward.

    Contributor Interface

    Contributor Publishing

    Regular contributors can now be assigned the role “Publisher”.  This will enable them to publish assets and view the publishing console via the Contributor interface.  In the past only people who had access to the admin interface could run publishes.

    Inherited Attributes Tab

    Oracle has added a new tab to the contributor interface that displays all the values that have been inherited from a parent asset.  In the past it was assumed that people knew what was being inherited from the parents.

    Right-to-Left (RTL) Support

    Administrators now have the option to configure the interface to support a Right-to-Left interface style for languages that are displayed that manner.

    My Tags

    In the contributor interface users now have the option to organize their assets with “tags”.  A user can create a tag and apply it to an asset.  From there it will be saved to their “My Work” tree and they will be able to search for assets by tag.

    Accessibility

    Oracle has added multiple accessibility features based on the Oracle Accessibility Guidelines 2.0.  The new features can be configured for the Contributor Interface in this release.  The following features are available:

    • Screen Reader Support
    • Customizable Keyboard Shortcuts including Seamless Keyboard-Based Navigation
    • High-Contrast Mode

    Upgrade Path

    Upgrades are not currently supported from 11g to 12c.  The next bundle patch for WebCenter Sites will include an upgrade path.

    XMLPost CLI Support

    XMLPost can now accept user credentials from the command-line instead of having to read them from the ini file.  This makes the use of XMLPost more secure by removing the need to store plain text usernames and passwords in a configuration file.

    IPv6 Support

    WebCenter Sites can now support IPv6.  It can also perform hybrid IPv6/IPv4 operations.

    Deprecated Features

    The following features have been removed from WebCenter Sites 12c

    • WebCenter Sites Gadgets and Gadget Server

    Gadgets were mini applications built through JavaScript, Flash, or Silverlight.  The gadget server allowed administrators and developers to build and manage these tools inside WebCenter Sites

    • WebCenter Sites Native Authentication in Community/Gadgets

    Allowed Sites to use the native authentication for gadgets and community server

    • WebCenter Sites Analytics 2.5

    A home grown Java based analytics solution for WebCenter Sites.  This has been replaced with the new Insights Analytics implementation.

    • WebCenter Sites Content Integration Platform – EMC Documentum

    Allowed content to be published from File Systems to WebCenter Sites

    • WebCenter Sites Content Integration Platform – File Systems

    Allowed content to be published from File Systems to WebCenter Sites

    • WebCenter Sites Content Integration Platform – Sharepoint

    Allowed content to be published from SharePoint to WebCenter Sites

    • WebCenter Sites Janrain Integration

    Janrain provided social integration functionality

    • WebCenter Sites Netomat Mobility Server

    Previous WebCenter Sites Mobility Server implementation that has been replaced with the new mobility functionality

    • SOAP-based web services

    Web Services based implementation for accessing the Java APIs that has been replaced by the new REST services

    • Page Debugger

    Debug Servlet that was used to assist in debugging XML code.

    • Sites Desktop

    A Microsoft Word plugin that allowed contributors to contribute assets solely through Word.

    • Sites DocLink

    A tool that allowed Windows users to connect to WebCenter Sites through Windows Explorer and mass upload assets through dragging and dropping them into folders that were representative of the parent child asset model.

  • TekTalk Blog: Understanding the Challenges of Offshore Development

    TekTalk Blog: Understanding the Challenges of Offshore Development

    Understanding the Challenges of
    Offshore Development

    By: Mubeen Bolar | Director, Project Management

    Today there are numerous options for US Companies to perform offshore software development known as Offshoring, or Outsourcing. Some of the countries that specialize in offshoring are India, China, Russia, Eastern Europe, Philippines, Costa Rica and Brazil. Cost is the main reason most US Companies consider outsourcing part or most of their software development. However, the lower cost often comes with significant challenges. There are several models of Outsourcing depending on the size of the US Company and their willingness to invest in offshore development.

    One of the most popular models of performing offshore software development is through Offshore IT consulting companies who are vendors to US companies. These Offshore IT Companies have branches in the US and can execute projects using highly skilled employees both in the US and abroad. Sometimes the Offshore IT Consulting Company has a long term relationship with the US Company and is more like an offshore partner. Over last decade the offshore model for developing software and providing QA and IT Support Services has matured. Offshoring if done right can result in significant cost saving and increased margins. At the same time when things don’t go well, Offshoring can result in delays, poor quality, frustration and failure.

    In order for offshore software development to be a success the US Company must ensure that there is a model for executing the project that encompasses a structured approach. The resources provided by the offshore company must be interviewed before being selected to join the project team. One of the major reasons for failure is having offshore resources that are low cost but do not have the right skill set and experience. It is better to pay a slightly higher offshore rate to get the right skillset and experience. Communication between the offshore team and the US Team is critical and can make or break a project. It is important for the offshore team to have good English communication skills. Misunderstanding the requirements and design of an application can result in costly mistakes and delays. There should be a Project Manager and a Technical Lead/Architect on both the offshore team and the US team. This will avoid delays associated with the offshore developers waiting for guidance from a Project Manager or a Technical Architect located in the US due to the difference in time zone.

    The offshore team must have at least a 4 hour overlap with the US team, where they are available to answer questions or get clarifications. Daily team meetings will help to keep the work on track and improve communication. Development work should not be started without proper design documentation and use cases that can be followed by the offshore team. In some models, the Offshore Technical Architect comes to the US during the technical design phase and is also one of the individuals responsible for developing the Technical Design Document. Timely demos of the functionality that has been developed and frequent code reviews should be used to flush out any issues prior to integrate testing. The US Project Manager must update the tasks in the project plan with the actual hours spent on the tasks on a weekly basis. The US Project Manager must check with the offshore team if the remaining hours on the tasks each week are sufficient to complete the tasks. Scope creep can be avoided by monitoring those tasks that are taking longer than the original estimate. This may be a sign the offshore resource lacks the right skill set.

    A separate QA team must write the test cases and perform system integration testing prior to User Acceptance Testing. The estimated hours for performing QA should not be lower than 20% of the development hours. The cost of QA is even lower when an Offshore QA team is used. It does not pay to cut corners. Proper testing will help to ensure the User Acceptance Testing goes smoothly. Even when an offshore software development project is a success, Time Zone Stress and the need for additional oversight can result in significant overhead especially for the US team, who has to deliver the project to business users in the US.

     

  • Pagination in Oracle WebCenter Content Presenter

    Pagination in Oracle WebCenter Content Presenter

    TekTalk blog series thumbnail.

    Pagination in Oracle WebCenter Content Presenter

    By: Suresh Vuray

    Business Problem:

    Recently, I came across a requirement to do pagination in a Content Presenter.

    The business use case is to display a list of content items (Site Studio Data files) as a list of items on a page.  It can be achieved easily using the Content Presenter taskflow, assigning a list of items (multi-list or query based) and use a multi-list Content Presenter.  That works fine until the content grows and the number of items increase to more than a few (say more than 10). When the number of items increases, it affects the usability (user will have to scroll down a long page of content to find what they need) and the response times of the page (especially on pages with a lot of traffic as the number of lookups in WCC increases and the page size grows).

    This customer has a few “Archive” pages in the portal, where the user will be able to dig up an old “News” article, a “Publication” or some other form of site studio based content. A quick Google search pointed out a few ways to achieve pagination in a Content Presenter using a bean for persisting the pagination data such as page index, page size, etc. However, that would require custom library development, deployment, downtime, restarts, etc.

    TekStream Solution:

    Application Development Framework (ADF) Basic Table Component comes to the rescue. One of the new features of 11.1.1.7 is pagination in tables.  ADF Basic Table can be used as an iterator to loop thru the items restored by the list of items and pagination can be enabled by changing the following properties of the af:table component

    • autoHeightRows=0
    • scrollPolicy=”page”
    • fetchsize=5 – fetchsize property sets the items per page. In this example it is set to 5.
    • value=#{nodes} – where nodes is the list of items
    • var=”node”

    <af:table id=”cpTable” value=”#{nodes}” var=”node”                  

           scrollPolicy=”page” autoHeightRows=”0″ fetchSize=”5″

    </af:table>

    af:column component(s) can be added to the af:table to display the node property data. In the example below a single item template is used but multiple columns and standard adf component can also be used to get desired display of content.

    <af:table id=”cpTable” value=”#{nodes}” rowBandingInterval=”0″ var=”node”                         

            scrollPolicy=”page” autoHeightRows=”0″ fetchSize=”5“>

            <af:column id=”cpColumn1″>

                            <dt:contentTemplate  id=”singleItemTemplate” ”

                                            node=”#{node} nodesHint=”#{nodes}”

                                            view=”content.templates.singleItem” />

                    </af:column>
    </af:table>

    You may need to set nowrap=false property on the af:column component to achieve display of single item in a single / multiple lines as desired.

    However, ADF Basic Table component is developed for displaying typical database table data, hence it has some specific properties enabled by default and these need to be disabled appropriately.

    • disableColumnReordering=”true”
    • columnSelection=”none”
    • rowSelection=”none”
    • columnResizing=”disabled”
    • contentDelivery=”lazy”
    • contextMenuSelect=”false”
    • horizontalGridVisible=”false”
    • verticalGridVisible=”false”

    <af:table id=”cpTable” value=”#{nodes}” rowBandingInterval=”0″ var=”node”                 

            scrollPolicy=”page” autoHeightRows=”0″ fetchSize=”5″                        

          disableColumnReordering=”true” columnSelection=”none” rowSelection=”none”   

          columnResizing=”disabled” contentDelivery=”lazy” contextMenuSelect=”false”                           

          horizontalGridVisible=”false” verticalGridVisible=”false” >

            <af:column id=”cpColumn1″>

                            <dt:contentTemplate  id=”singleItemTemplate” ”

                                            node=”#{node} nodesHint=”#{nodes}”

                                            view=”content.templates.singleItem” />

                    </af:column>
    </af:table>

    Pagination 11 example screenshot.

    Skinning the af:table component will allow us to modify/remove the unnecessary elements of the pagination. Below is one such variation.

    Pagination 22 example screenshot.

    This approach improves portal page response time, especially for retrieving and presenting a large list of Site Studio based web assets from Oracle WebCenter Content.