Difference between revisions of "PT Portlet Manage Pods"

From ADF Docs
Jump to: navigation, search
(Created page with 'Back to Build Subsites, Templates and Pages == Overview == The PortletPodInstance element is a global custom element. Managing …')
 
Line 19: Line 19:
 
## Datasheet Source: Form Result/Custom Element Sheet
 
## Datasheet Source: Form Result/Custom Element Sheet
 
# From the Datasheet Source dialog choose the "PortletPodInstance" custom element and click "Next".
 
# From the Datasheet Source dialog choose the "PortletPodInstance" custom element and click "Next".
# From the Datasheet Columns Dialog select the columns PODINSTANCEID, CONTENTTYPE, DEFAULTINSTANCEID, ISDRAGGABLE, ISCOLLAPSIBLE, ISEDITABLE, ISDELETABLE, ISCOLLAPSED and ISREUSABLE from the Available Columns list and move them to the Selected Columns list and then click "Finish".
+
# 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 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".
 
# 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  
# From the Datasheet View Column Properties dialog choose the link for "Add a new action column" again.
+
## Click Finish.
# Within the Action Column Properties dialog enter the following information and click "Finish":
+
## In the Header field, switch the text to 'TOOLS'
## Header: Edit
 
## Hide Header: Checked
 
## Column Text: edit
 
## Window Target Name: <leave blank>
 
## Modules: edit-form-data.cfm
 
# 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: Delete
 
## Hide Header: Checked
 
## Column Text: delete
 
## Window Target Name: <leave blank>
 
## Modules: delete-form-data.cfm
 
 
## Click Finish
 
## Click Finish
 
# Close the Edit Column window.
 
# Close the Edit Column window.

Revision as of 00:09, 30 April 2010

Back to Build Subsites, Templates and Pages

Overview

The PortletPodInstance 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 photo element data.

Steps

  1. Create a new page called 'Manage Pods' from the Base Plus One (or a Web Admin template) and in the /webadmin/portlet/ subsite.
  2. In the main content of the page, add a Custom Script element.
  3. From the Custom Script element interface, click the "Edit" icon.
  4. Enter the following text into the Explicit Module path:
    1. /ADF/apps/pt_portlet/customcf/manage_pod_header.cfm
  5. From the Datasheet element interface, click the "Datasheet" icon.
  6. From the "Datasheet Views" dialog, follow the "Click here to create a new datasheet view" link.
  7. Enter the following information and then click "Next":
    1. Name: Default Pods
    2. Private: unchecked
    3. Default View: checked
    4. Description: View to manage the Default Pods
    5. Datasheet Source: Form Result/Custom Element Sheet
  8. From the Datasheet Source dialog choose the "PortletPodInstance" custom element and click "Next".
  9. 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".
  10. You will be brought to the Datasheet View page; click "Close" to return to your page.
  11. You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose "Edit Columns".
  12. Within the Datasheet View Column Properties dialog choose the PODINSTANCEID column and click "edit":
    1. In the Render Handler field, select the Change button. Enter the following value into the Explicit Module text box:
      1. /ADF/apps/pt_portlet/datasheet-modules/manage-default-pod-title-configure.cfm
    2. Click Finish.
    3. In the Header field, switch the text to 'TOOLS'
    4. Click Finish
  13. Close the Edit Column window.
  14. Publish this page.