Difference between revisions of "PT Calendar Version 4.7 Upgrade"

From ADF Docs
Jump to: navigation, search
(Created page with "Back to PT Calendar '''IMPORTANT''': v4.6 of this application requires '''ADF 2.5''' or greater and '''CommonSpot 10.5.2 or 10.6.1''' or greater. == Overvie...")
 
Line 1: Line 1:
 
Back to [[PT_Calendar|PT Calendar]]
 
Back to [[PT_Calendar|PT Calendar]]
  
  '''IMPORTANT''': v4.6 of this application requires '''ADF 2.5''' or greater and '''CommonSpot 10.5.2 or 10.6.1''' or greater.
+
  '''IMPORTANT''': v4.7 of this application requires '''ADF 2.5''' or greater and '''CommonSpot 10.5.2 or 10.6.1''' or greater.
  
 
== Overview ==
 
== Overview ==
This guide is to upgrade the PT Calendar v4.6 from v4.5.  If you are updating from a version earlier than v4.5, please complete the v3.0 - v4.5 Upgrade Guides in order.
+
This guide is to upgrade the PT Calendar v4.7 from v4.6.  If you are updating from a version earlier than v4.6, please complete the v3.0 - v4.6 Upgrade Guides in order.
  
 
  Note: There is not an upgrade path from Calendar 2 or earlier to Calendar 4.x. You can only upgrade Calendar v3.x to Calendar v4.x. From Calendar 2.x or earlier you will need to treat the Calendar App as a new install.
 
  Note: There is not an upgrade path from Calendar 2 or earlier to Calendar 4.x. You can only upgrade Calendar v3.x to Calendar v4.x. From Calendar 2.x or earlier you will need to treat the Calendar App as a new install.
Line 20: Line 20:
  
 
== Application Code ==
 
== Application Code ==
# Rename directory "/ADF/apps/pt_calendar" to "/ADF/apps/pt_calendar_v4.5".
+
# Rename directory "/ADF/apps/pt_calendar" to "/ADF/apps/pt_calendar_v4.6".
# Rename file "/ADF/apps/pt_calendar_v4.5/appBeanConfig.cfm" to "/ADF/apps/pt_calendar_v4.5/appBeanConfig.cfm.old".
+
# Rename file "/ADF/apps/pt_calendar_v4.6/appBeanConfig.cfm" to "/ADF/apps/pt_calendar_v4.6/appBeanConfig.cfm.old".
# Move the PT Calendar v4.6 and into the "/ADF/apps/pt_calendar/" directory.
+
# Move the PT Calendar v4.7 and into the "/ADF/apps/pt_calendar/" directory.
 
# Reset the ADF
 
# Reset the ADF
  

Revision as of 22:11, 9 February 2022

Back to PT Calendar

IMPORTANT: v4.7 of this application requires ADF 2.5 or greater and CommonSpot 10.5.2 or 10.6.1 or greater.

Overview

This guide is to upgrade the PT Calendar v4.7 from v4.6. If you are updating from a version earlier than v4.6, please complete the v3.0 - v4.6 Upgrade Guides in order.

Note: There is not an upgrade path from Calendar 2 or earlier to Calendar 4.x. You can only upgrade Calendar v3.x to Calendar v4.x. From Calendar 2.x or earlier you will need to treat the Calendar App as a new install.


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. Rename directory "/ADF/apps/pt_calendar" to "/ADF/apps/pt_calendar_v4.6".
  2. Rename file "/ADF/apps/pt_calendar_v4.6/appBeanConfig.cfm" to "/ADF/apps/pt_calendar_v4.6/appBeanConfig.cfm.old".
  3. Move the PT Calendar v4.7 and into the "/ADF/apps/pt_calendar/" directory.
  4. Reset the ADF

Site Level Customizations Review

This is only for reviewing the site level customizations in the "/_cs_apps/pt_calendar/" 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 file 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.

Reset the ADF

Reset the ADF for the server and site.