Difference between revisions of "PT Poll Upgrade v2"

From ADF Docs
Jump to: navigation, search
(No difference)

Revision as of 19:36, 12 February 2013

Overview

Follow the items below for upgrading the PT Poll app from v1.0 to v2.0.

Application Code

  1. Renamed directory "/ADF/apps/pt_poll" to "/ADF/apps/pt_poll_v1".
  2. Renamed file "/ADF/apps/pt_poll_v1/appBeanConfig.cfm" to "/ADF/apps/pt_poll_v1/appBeanConfig.cfm.old".
  3. Move the PT Poll v2.0 and exported into the "/ADF/apps/pt_poll/" directory.

Custom Elements

Poll Question Gallery

  1. Open the field definitions for the Poll Question Gallery element.
  2. Edit the "pollName" field.
    1. Go to the properties tab and set the size value to "50".
  3. Edit the "pollQuestionID" field.
    1. Go to the properties tab and set "Load All Available Selections" to "true".

Vote Manager

Create and setup the Vote Manager page.

  1. Create a new page:
    1. Name: vote manager
    2. Title: Vote Manager
  2. Insert a datasheet element into the page and define the datasheet.
    1. Select the Poll Vote element
    2. Add the UserID, QuestionID, Vote, Date
  3. Click on "Edit Columns"
    1. Add the action column for delete and select the "delete-form-data.cfm" module.
  4. Click to edit Layout
    1. Default Sorting: Date DESCENDING
    2. Results Per Page: 50