Difference between revisions of "PT Poll Upgrade v2"
From ADF Docs
Line 15: | Line 15: | ||
# Edit the "pollQuestionID" field. | # Edit the "pollQuestionID" field. | ||
## Go to the properties tab and set "Load All Available Selections" to "true". | ## Go to the properties tab and set "Load All Available Selections" to "true". | ||
+ | |||
+ | == Vote Manager == | ||
+ | Create and setup the Vote Manager page. | ||
+ | |||
+ | # Create a new page: | ||
+ | ## Name: vote manager | ||
+ | ## Title: Vote Manager | ||
+ | # Insert a datasheet element into the page and define the datasheet. | ||
+ | ## Select the Poll Vote element | ||
+ | ## Add the UserID, QuestionID, Vote, Date | ||
+ | # Click on "Edit Columns" | ||
+ | ## Add the action column for delete and select the "delete-form-data.cfm" module. | ||
+ | # Click to edit Layout | ||
+ | ## Default Sorting: Date DESCENDING | ||
+ | ## Results Per Page: 50 |
Revision as of 18:01, 12 September 2012
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 Elements
Poll Question Gallery
- Open the field definitions for the Poll Question Gallery element.
- Edit the "pollName" field.
- Go to the properties tab and set the size value to "50".
- Edit the "pollQuestionID" field.
- Go to the properties tab and set "Load All Available Selections" to "true".
Vote Manager
Create and setup the Vote Manager page.
- Create a new page:
- Name: vote manager
- Title: Vote Manager
- Insert a datasheet element into the page and define the datasheet.
- Select the Poll Vote element
- Add the UserID, QuestionID, Vote, Date
- Click on "Edit Columns"
- Add the action column for delete and select the "delete-form-data.cfm" module.
- Click to edit Layout
- Default Sorting: Date DESCENDING
- Results Per Page: 50