PT Poll Version 3.2 Upgrade

From ADF Docs
Revision as of 15:57, 31 January 2025 by Gcronkright (talk | contribs) (PT Poll Version 3.2 Upgrade Guide)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Back to PT Poll

IMPORTANT: v3.2 of this application requires ADF 2.7 or greater and CommonSpot 11.0, 10.9.1 or 10.8.2 or greater.

Overview

Follow the items below for upgrading the PT Poll app from v3.1 to v3.2.

ADF Application Code Review

This is only for reviewing the code that is in the "/ADF/apps/" directory, not at the site level.

  1. Download the application from the Community project page.
  2. Unzip the application zip folder.
  3. Analyze the updated app code compared to the current app code on your server.
    1. Identify any customizations that you have made to the application code to make sure these are not overwritten by the app update.
    2. A great tool to use is Beyond Compare to compare the new and current file to identify the exact lines of code that have been changed.
  4. Once this is complete, then move your app customizations into the new app code package.

Application Code

  1. Renamed directory "/ADF/apps/pt_poll" to "/ADF/apps/pt_poll_v3_1".
  2. Renamed file "/ADF/apps/pt_poll_v3_1/appBeanConfig.cfm" to "/ADF/apps/pt_poll_v3_1/appBeanConfig.cfm.old".
  3. Move the PT Poll v3.2 app files into the "/ADF/apps/pt_poll/" directory.

Site Level Customizations Review

This is only for reviewing the site-level customizations in the "/_cs_apps/pt_poll/" directory, not in the ADF directory.

  1. Analyze the updated app code compared to the app customization code on your server.
    1. Identify any customizations that you have made to the application code to make sure these are updated with any functionality.
    2. Again, Beyond Compare is a good tool to compare the new and current files to identify the exact lines of code that have been changed.
    3. This is important for components that have customized functions to the site level "/_cs_apps/". The best practice is to identify the function that have been customized and compare with the new app function to identify any updates. A good help is to check the function comment header to see if any updates have been made.
  2. Once completed, Reset the ADF.


Disabling the CCAPI

IMPORTANT: For CommonSpot 11.x or above. If you are using this app with CommonSpot 10.9.1 or 10.8.3 or below, DO NOT disable the CCAPI for this App!! 
  1. Find your CCAPI conduit page for the profile App. This page is generally called 'ccapiProfile' built from the 'Blank Layout Template.
    1. The ccapi.cfm file may be located in the '/webadmin/profile/' subsite.
  2. Once you find the CCAPI Conduit page that has the 'Profile' element on it, disable this page.
  3. In the '/_cs_apps/config/ccapi.cfm' file for the site remove the <Profile> node from the <elements> section of the XML block.
  4. Once completed, Reset the ADF.
Note: If no other CE nodes are listed in the <elements> node, other ADF CCAPI functions may still use the <wsVars> configuration information, so do not remove this file.

Reset the ADF

Reset the ADF for the server and site.