PT Calendar2 Manage Event Organizations
From ADF Docs
Revision as of 13:41, 3 May 2010 by Gcronkright (talk | contribs)
Back to Build Subsites, Templates and Pages
Overview
The Event Organizations element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following sections will describe how to configure the datasheet to manage the PortletPodInstance element data.
Steps
- Create a new page called 'Manage Pods' from the Base Plus One (or a Web Admin template) and in the /webadmin/portlet/ subsite.
- In the main content of the page, add a Custom Script element.
- From the Custom Script element interface, click the "Edit" icon.
- Enter the following text into the Explicit Module path:
- /ADF/apps/pt_portlet/customcf/manage_pod_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: Default Pods
- Private: unchecked
- Default View: checked
- Description: View to manage the Default Pods
- Datasheet Source: Form Result/Custom Element Sheet
- From the Datasheet Source dialog choose the "PortletPodInstance" custom element and click "Next".
- From the Datasheet Columns Dialog select the columns PODINSTANCEID, CONTENTTYPE, ISDRAGGABLE, ISCOLLAPSIBLE, ISEDITABLE, ISDELETABLE, ISCOLLAPSED and ISREUSABLE from the Available Columns list and move them to the Selected Columns list 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".
- Within the Datasheet View Column Properties dialog choose the PODINSTANCEID column and click "edit":
- In the Render Handler field, select the Change button. Enter the following value into the Explicit Module text box:
- /ADF/apps/pt_portlet/datasheet-modules/manage-default-pod-title-configure.cfm
- Click Finish.
- In the Header field, switch the text to 'TOOLS'
- Click Finish
- In the Render Handler field, select the Change button. Enter the following value into the Explicit Module text box:
- Close the Edit Column window.
- Now go back to the datasheet element. Click the Datasheet element interface icon again and this time choose "Filter".
- Select Filter Type to Show subset of records.
- Select the Field drop-down as the DEFAULTINSTANCEID field.
- Select the operator as Equals.
- Leave the Value field blank.
- Click Finish
- Submit this page.