PT Import Content Job Type Manager

From ADF Docs
Revision as of 14:27, 31 March 2011 by Mcarroll (talk | contribs) (Steps)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Overview

The Import Job Types are global custom elements. Managing data for these global custom elements can be configured easily through the use of Datasheets. The following sections will describe how to configure a CommonSpot page to manage the data for this element.

Steps

  1. Create a new page with the title 'Job Type Manager' from the Base Plus One template and in the subsite /webadmin/importcontent/.
  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: /ADF/apps/pt_import_content/customcf/job_type_manager.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: All Job Types
    2. Private: unchecked
    3. Default View: unchecked
    4. Description: View to manage all of the photo sizes
    5. Datasheet Source: Form Result/Custom Element Sheet
  8. From the Datasheet Source dialog, choose the "Import Job Type" custom element and click "Next".
  9. From the Datasheet Columns dialog select the columns ID, Name, and Is Active and move them to the Selected Columns list then click "Finish".
  10. You will be directed to the Datasheet View page. Click "Close" to return to your page.
  11. You will now see the datasheet element on this page. Click the Datasheet element interface icon again and choose "Edit Columns".
  12. Edit the "ID" column.
  13. Change the "Header" text to "Edit/Delete".
  14. Change the "Render Handler" to the following path:
    1. If running CommonSpot 6.0 and higher use the following:
      1. /ADF/extensions/datasheet-modules/1.0/edit-delete-native-CS6.cfm
    2. Else use the following path:
      1. /ADF/extensions/datasheet-modules/1.0/edit-delete.cfm
  15. Save the form.
  16. Publish this page.