PT Poll Upgrade v2

From ADF Docs
Revision as of 16:34, 12 September 2012 by Mcarroll (talk | contribs) (Custom Element Updates)
Jump to: navigation, search

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 Field Types

Vote Options

  1. Check in the Site Admin and Field Types and Masks.
  2. Identify if a "Vote Options" custom field type is registered.
  3. If not, then import the custom field type from the following exported object path:
    1. /ADF/apps/pt_poll/exported-objects/Vote-Options-Custom-Field-Type.zip

Custom Element Updates

Poll Question

  1. Add the following new field:
    1. Create a new tab called "Options".
    2. In the "Options" tab add a new field with the following:
      1. Field Name: voteOptions
      2. Label: Vote Options
      3. Type: Vote Options
      4. Required: Yes

This "Vote