Difference between revisions of "PT Profile Admin Datasheet"
From ADF Docs
(Created page with '== Overview == The Profile element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following sect…') |
(→Steps) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
− | The Profile element is a global custom element. | + | The Profile element is a global custom element. Data for global custom elements can be easily managed with Datasheets. The following sections describe how to configure a simple management page. |
− | |||
− | |||
== Steps == | == Steps == | ||
− | # Create a page from the Base Plus One | + | # Create a page from the Base Plus One titled 'Manage Profiles' with the page name 'index' in the ''/webadmin/profile/'' subsite. |
− | # In the | + | # In the body of the page, add a Custom Script element. |
− | # From the Custom Script element interface, click the | + | # From the Custom Script element interface, click the ''Edit'' icon. |
− | # Enter the following text into the Explicit Module path: | + | # Enter the following text into the Explicit Module path: ''/ADF/apps/pt_profile/customcf/profile_admin_ds.cfm'' |
− | + | # From the Datasheet element interface, click the ''Datasheet'' icon. | |
− | # From the Datasheet element interface, click the | + | # From the ''Datasheet Views'' dialog, select the ''Click here to create a new datasheet view'' text. |
− | # From the | + | # Enter the following information and then click ''Next'': |
− | # Enter the following information and then click | ||
## Name: All Profiles | ## Name: All Profiles | ||
## Private: unchecked | ## Private: unchecked | ||
Line 18: | Line 15: | ||
## Description: View to manage all of the profiles | ## Description: View to manage all of the profiles | ||
## Datasheet Source: Form Result/Custom Element Sheet | ## Datasheet Source: Form Result/Custom Element Sheet | ||
− | # From the Datasheet Source dialog choose the | + | # From the Datasheet Source dialog, choose the ''Profile'' custom element and click ''Next''. |
− | # From the Datasheet Columns | + | # From the Datasheet Columns dialog, choose a few columns from the Available Columns list and move them to the Selected Columns list. Select the following fields in this order ''UniqueID'', ''UserID'', ''firstname'', ''lastname'', and ''email'' as the first field to display in the table and then click ''Finish''. |
− | # You will be brought to the Datasheet View 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 | + | # You will now see the datasheet element on this page. Click the Datasheet element interface icon again and this time choose ''Edit Columns''. |
# Select the column field ''UniqueID'' and then the edit button. | # Select the column field ''UniqueID'' and then the edit button. | ||
− | # In the Render Handler field, select the ''Change'' button. Enter the following value into the ''Explicit Module'' text box: | + | # In the Render Handler field, select the ''Change'' button. Enter the following value into the ''Explicit Module'' text box: ''/ADF/apps/pt_profile/datasheet-modules/datasheet-action-edit-delete-view.cfm'' |
− | |||
# Click ''Finish''. | # Click ''Finish''. | ||
# In the Header field, clear out the text and leave the text field blank. Click ''Finish''. | # In the Header field, clear out the text and leave the text field blank. Click ''Finish''. | ||
# Publish this page. | # Publish this page. | ||
+ | |||
+ | [[Category:Profile]] |
Latest revision as of 15:09, 31 March 2010
Overview
The Profile element is a global custom element. Data for global custom elements can be easily managed with Datasheets. The following sections describe how to configure a simple management page.
Steps
- Create a page from the Base Plus One titled 'Manage Profiles' with the page name 'index' in the /webadmin/profile/ subsite.
- In the body 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_profile/customcf/profile_admin_ds.cfm
- From the Datasheet element interface, click the Datasheet icon.
- From the Datasheet Views dialog, select the Click here to create a new datasheet view text.
- Enter the following information and then click Next:
- Name: All Profiles
- Private: unchecked
- Default View: unchecked
- Description: View to manage all of the profiles
- Datasheet Source: Form Result/Custom Element Sheet
- From the Datasheet Source dialog, choose the Profile 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. Select the following fields in this order UniqueID, UserID, firstname, lastname, and email as the first field to display in the table and then click Finish.
- You will be brought to the Datasheet View page. Click Close to return to your page.
- You will now see the datasheet element on this page. Click the Datasheet element interface icon again and this time choose Edit Columns.
- Select the column field UniqueID and then the edit button.
- In the Render Handler field, select the Change button. Enter the following value into the Explicit Module text box: /ADF/apps/pt_profile/datasheet-modules/datasheet-action-edit-delete-view.cfm
- Click Finish.
- In the Header field, clear out the text and leave the text field blank. Click Finish.
- Publish this page.