PT Profile Admin Add

From ADF Docs
Jump to: navigation, search

Overview

The Profile Admin Add Page is a lightbox page to allow administrators to create new profiles.

Follow these steps to configure the link and page for adding profiles.

Steps

  1. Create a new page from the Lightbox template called 'Add Profile' in the /lightbox/profile/ 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: /ADF/apps/pt_profile/customcf/handle_profile_add.cfm
  5. From the Simple Form element interface icons, choose the Select Form icon.
  6. In the Create/Select Simple Form dialog, choose the Select Simple Form/Custom Element option and click next.
  7. From the Select Form/Custom Element dialog, choose the Profile custom element and click Finish.
  8. Within the Manage Simple Form Element dialog, enter the following information:
    1. Name: (leave as is)
    2. Email Notification Recipients: if you would like to receive an e-mail whenever an event is added place your e-mail in here. (optional)
    3. Sender's Email Address: leave checked
    4. Anonymous Sender's Email Address: if needed, add an anonymous email address
    5. Form Action: choose Display Textblock on Submission option and add 'Profile successfully created!' text in the RTE.
    6. Select Finish, then Finish again.
  9. Publish the page.

Update Profile Site Config

This page will be used to add new profile records. Update the ptProfile.xml config file that we setup in Site Configuration. Get the URL for this page and update the <ADD_URL> tag value with this page URL.

<ADD_URL>/lightbox/profile/Add-Profile.cfm</ADD_URL>