PT Portlet Import Custom Elements
Back to PT Portlet Overview
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:
- Portlet App Elements (required)
- Portlet Pod Types (required)
- Portlet Pod Content (optional)
Import Custom Elements in to their new Category:
- Portlet App Elements
- Portlet_Columns - (Portlet-Columns-Custom-Element.zip)
- PortletPodInstances - (PortletPodInstances-Custom-Element.zip)
- PortletPodUserData - (PortletPodUserData-Custom-Element.zip)
- ptPortlet Configuration - (ptPortlet-Configuration-Custom-Element.zip)
- Portlet Pod Types
- Links - (Links-Custom-Element.zip)
- RSS_Feeds - (RSS_Feeds-Custom-Element.zip)
- Simple_Content - (Simple_Content-Custom-Element.zip)
- Weather - (Weather-Custom-Element.zip)
- Custom_File - (Custom_File-Custom-Element.zip)
- Portlet Pod Content
- Link Items - (Link-Items-Custom-Element.zip) - (required for 'Links' above)
- 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.
- General Chooser
- Custom Hidden Field
- 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/".