PT Portlet Import Custom Elements

From ADF Docs
Revision as of 12:31, 14 April 2010 by Gcronkright (talk | contribs) (Created page with '== Overview == The Portlet App has several Custom Components defined within CommonSpot. These components are available in the Portlet "exported-objects" folder located at the roo…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Overview

The Portlet App has several Custom Components defined within CommonSpot. These components are available in the Portlet "exported-objects" folder located at the root of the pt_portlet application directory (e.g. /ADF/apps/pt_portlet/exported-objects/)

To import these objects, you will need to be an administrator for your site.

Import

Import all portions of each component in the order listed.

Create 3 new Custom Element Category:

  1. Portlet App Elements (required)
  2. Pod Types (required)
  3. Portlet Pod Content (optional)


Import Custom Elements in to their new Category:

  1. Portlet App Elements
    1. Portlet_Columns - (Portlet-Columns-Custom-Element.zip)
    2. PortletPodInstances - (PortletPodInstances-Custom-Element.zip)
    3. PortletPodUserData - (PortletPodUserData-Custom-Element.zip)
    4. ptPortlet Configuration - (ptPortlet-Configuration-Custom-Element.zip)
  1. Portlet Pod Types
    1. Links - (Links-Custom-Element.zip)
    2. RSS_Feeds - (RSS_Feeds-Custom-Element.zip)
    3. Simple_Content - (Simple_Content-Custom-Element.zip)
    4. Weather - (Weather-Custom-Element.zip)
    5. Custom_File - (Custom_File-Custom-Element.zip)
  1. Portlet Pod Content
    1. Link Items - (Link-Items-Custom-Element.zip) - (required for 'Links' above)
    2. RSS Formatted Content - (RSS-Formatted-Content-Custom-Element.zip)


Verify/Update Imports:

The imported components' render handlers and custom field types must be verified. During the import process, the render handler and custom field types paths may have been changed to reflect the current site's path.

  1. General Chooser
  2. Custom Hidden Field
  3. Custom Text Field

Review and update these paths to reference the ADF path. In most cases, this will just require a change in the path from the site name to 'ADF'. Check the paths for the custom field types that were imported with the custom elements by unlocking them and fixing the explicit paths to point to "/ADF/extensions/".