Difference between revisions of "PT Poll Upgrade v2"
From ADF Docs
(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: | |
− | + | ## Create a new tab called "Options". | |
− | + | ## In the "Options" tab add a new field with the following: | |
− | + | ### Field Name: voteOptions | |
− | + | ### Label: Vote Options | |
− | + | ### Type: Vote Options | |
− | + | ### Required: Yes | |
+ | |||
+ | This "Vote |
Revision as of 16:34, 12 September 2012
Contents
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".
- Renamed file "/ADF/apps/pt_poll_v1/appBeanConfig.cfm" to "/ADF/apps/pt_poll_v1/appBeanConfig.cfm.old".
- Move the PT Poll v2.0 and exported into the "/ADF/apps/pt_poll/" directory.
Custom Field Types
Vote Options
- Check in the Site Admin and Field Types and Masks.
- Identify if a "Vote Options" custom field type is registered.
- If not, then import the custom field type from the following exported object path:
- /ADF/apps/pt_poll/exported-objects/Vote-Options-Custom-Field-Type.zip
Custom Element Updates
Poll Question
- Add the following new field:
- Create a new tab called "Options".
- In the "Options" tab add a new field with the following:
- Field Name: voteOptions
- Label: Vote Options
- Type: Vote Options
- Required: Yes
This "Vote