Difference between revisions of "PT Poll Upgrade v2"

From ADF Docs
Jump to: navigation, search
(Created page with '== Overview == Follow the items below for upgrading the PT Poll app from v1.0 to v2.0. == Application Code == # Renamed directory "/ADF/apps/pt_poll" to "/ADF/apps/pt_poll_v1". …')
 
(Custom Element Updates)
Line 18: Line 18:
  
 
=== Poll Question ===
 
=== Poll Question ===
## Add the following new field:
+
# Add the following new field:
### Create a new tab called "Options".
+
## Create a new tab called "Options".
### In the "Options" tab add a new field with the following:
+
## In the "Options" tab add a new field with the following:
#### Field Name: voteOptions
+
### Field Name: voteOptions
#### Label: Vote Options
+
### Label: Vote Options
#### Type: Vote Options
+
### Type: Vote Options
#### Required: Yes
+
### Required: Yes
 +
 
 +
This "Vote

Revision as of 16:34, 12 September 2012

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