PT Portlet Configuration
From ADF Docs
Back to Build Subsites, Templates and Pages
Overview
The Portlet Configuration Page will be used to manage the PTPortlet Configuration custom element. Follow these steps to configure the datasheet and page for adding the configuration settings.
Steps
- Create a new page called 'Configuration Manager' in the /webadmin/portlet/ subsite.
- In the main content of the page, add a Custom Script element.
- Enter the explicit module path for:
- /ADF/apps/pt_portlet/customcf/manage_portlet_configuration_header.cfm
- From the Datasheet element interface, click the "Datasheet" icon.
- From the "Datasheet Views" dialog, follow the "Click here to create a new datasheet view" link.
- Enter the following information and then click "Next":
- Name: Portlet Configuration
- Private: unchecked
- Default View: unchecked
- Description: View to manage the Portlet Configuration
- Datasheet Source: Form Result/Custom Element Sheet
- From the Datasheet Source dialog choose the "ptPortlet Configuration" custom element and click "Next".
- From the Datasheet Columns Dialog choose a few columns from the Available Columns list and move them to the Selected Columns list. (Portlet UI Theme, ADD POD WIZARD URL, ADD POD WIZARD STEP2 URL, etc...) and then click "Finish".
- You will be brought to the Datasheet View page; click "Close" to return to your page.
- You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose "Edit Columns".
- From the Datasheet View Column Properties dialog choose the link for "Add a new action column" again.
- Within the Action Column Properties dialog enter the following information and click "Finish":
- Header: Edit
- Hide Header: Checked
- Column Text: edit
- Window Target Name: <leave blank>
- Modules: edit-form-data.cfm
- No 'Delete' Action needed.
- Publish the page.
Create Portlet Configuration Record
We are creating a single Portlet Configuration element record to be used within the application.
Go to the Add New Config Data page and submit the form to create one record.
These fields will be completed as the pages are built.
See the Site Configuration wiki page for more information on the fields and the correct values.
Reset the ADF for the server and site.